Skip to content

Enable cache for babel-loader#4505

Merged
Gargron merged 1 commit intomastodon:masterfrom
ykzts:babel-loader-cache
Aug 3, 2017
Merged

Enable cache for babel-loader#4505
Gargron merged 1 commit intomastodon:masterfrom
ykzts:babel-loader-cache

Conversation

@ykzts
Copy link
Copy Markdown
Member

@ykzts ykzts commented Aug 3, 2017

without cache

$ rm -rf tmp/cache/babel-loader
$ rm -rf public/assets public/packs
$ time ./bin/rails assets:precompile RAILS_ENV=production > /dev/null

real	0m58.440s
user	1m1.308s
sys	0m2.217s

with cache

$ rm -rf public/assets public/packs
$ time ./bin/rails assets:precompile RAILS_ENV=production > /dev/null

real	0m49.067s
user	0m51.141s
sys	0m2.080s

@ykzts ykzts added the deployment Related to runtime configuration, production setups label Aug 3, 2017
@Gargron Gargron merged commit fae71b6 into mastodon:master Aug 3, 2017
pfigel added a commit to pfigel/mastodon that referenced this pull request Aug 7, 2017
* tag 'v1.5.1': (25 commits)
  Bump to 1.5.1
  i18n: update Persian translation (mastodon#4540)
  Fix mastodon#4531 (mastodon#4533)
  fr.yml update (mastodon#4531)
  Translate 'Signed in as' into Japanese (mastodon#4530)
  l10n OC - Added  mastodon#4523 "signed in as" (mastodon#4529)
  fix columns_area.js (mastodon#4528)
  Update goldfinger to 2.0.1, see mastodon/goldfinger#5 (mastodon#4527)
  Add "signed in as" header to some pages (mastodon#4523)
  l10n update Occitan (mastodon#4522)
  Scroll columns area to right when children property is changed (mastodon#4517)
  Fix some mistakes in Polish translation (mastodon#4495)
  Ignore some locale keys that can but do not need to be translated (mastodon#4515)
  Dutch strings: typo (mastodon#4489)
  Use GNU libiconv in Nokogiri (mastodon#4494)
  i18n: Update Polish translation (mastodon#4479)
  Enable cache for babel-loader (mastodon#4505)
  Redirect to PasswordController#new when reset_password_token is invalid (mastodon#4506)
  make number of comparison in emojify() fewer (mastodon#4500)
  Don't normalize invalid domain names (mastodon#4499)
  ...
@ykzts ykzts deleted the babel-loader-cache branch September 14, 2017 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deployment Related to runtime configuration, production setups

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants