Skip to content
This repository has been archived by the owner on Mar 22, 2019. It is now read-only.

Cache Static Assets #2840

Merged
merged 3 commits into from
Mar 17, 2017
Merged

Cache Static Assets #2840

merged 3 commits into from
Mar 17, 2017

Conversation

hone
Copy link
Contributor

@hone hone commented Mar 17, 2017

This introduces adding a hash to all the static assets so we can aggressively cache them on the browser. This will also be beneficial for when we move over to a CDN like Fastly, so they should also pick up on it automatically based on the headers.

On the homepage in my test it shaved the transferred data from 1.1 mb (fresh page) to 890 Bytes.

Copy link
Member

@rwjblue rwjblue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You rock, thank you @hone

@rwjblue rwjblue merged commit 0a6873f into emberjs:master Mar 17, 2017
@hone hone deleted the caching branch March 17, 2017 23:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants