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

Set cache expiry of css and js files to 1 year #376

Merged
merged 1 commit into from
Jul 16, 2023
Merged

Set cache expiry of css and js files to 1 year #376

merged 1 commit into from
Jul 16, 2023

Conversation

yogeshbeniwal
Copy link
Contributor

Fixes #361

Currently cache expiry of css and js is set to 30d. However Google pagespeed expect it to be at least 1 year as per https://web.dev/uses-long-cache-ttl/.

@VirtuBox
Copy link
Member

Thanks for your pull request and your contribution @yogeshbeniwal

@VirtuBox VirtuBox merged commit 6346a4f into WordOps:master Jul 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Serve static assets with an efficient cache policy
2 participants