Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serve static assets with an efficient cache policy #211

Open
Utwo opened this issue Apr 28, 2020 · 3 comments
Open

Serve static assets with an efficient cache policy #211

Utwo opened this issue Apr 28, 2020 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@Utwo
Copy link
Member

Utwo commented Apr 28, 2020

Serve static assets (js, css, woff2) with an efficient cache policy. Because files have unique hash in filename, a long cache lifetime can be used.

@Utwo Utwo added the help wanted Extra attention is needed label Apr 28, 2020
@andreibesleaga
Copy link

This can't be adjusted in AmazonS3/cloudfront from where the website is served ?
(some cache control settings ?)
Either that or modified serviceworker ?
(https://stackoverflow.com/questions/46038668/how-to-modify-auto-generated-service-worker-in-create-react-app)

@Utwo
Copy link
Member Author

Utwo commented May 1, 2020

Yes, this must be adjusted on AWS side.

@andreibesleaga
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants