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

Recommended static assets cache expiration #932

Open
cristi-contiu opened this issue Feb 11, 2019 · 0 comments
Open

Recommended static assets cache expiration #932

cristi-contiu opened this issue Feb 11, 2019 · 0 comments

Comments

@cristi-contiu
Copy link

cristi-contiu commented Feb 11, 2019

Hello!

In the "Apache Optimizations" > "Leverage Browser Caching?" section there is the following statement: "Google recommends 1 week" and that is the ExpiresDefault setting used in .htaccess.

However, when I run a Google PageSpeed Insights test on a CometCachePro powered website, I get the following message in the Diagnostics section:
image

Following the Learn more link, I see that the recommendation is for "a year or longer". By testing empirically, I found out that the warning disappears when using an expiration of more than 100 days.

Do you think we should also increase the ExpiresDefault from 1 week to 100 days?

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

No branches or pull requests

1 participant