-
-
Notifications
You must be signed in to change notification settings - Fork 606
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
Leverage browser caching / h5bp basic config #800
Comments
The original concern was that we can't guarantee assets that are included on a page contain cache busting information. I guess if anyone uses the |
Yes, version of WP if nothing is set, otherwise the string provided to the version parameter. |
Should be noted that anyone can add this config by using Nginx include/child templates. |
Are there any plans for adding this in near future? It is also a handy way improving the PageSpeed score. |
Nope. My original concern still stands and this can easily be done by anyone that needs it. |
One way to solve this could be by using a plugin that enforces adding the necessary |
Seems useful but Trellis can't depend on a specific WP plugin. |
I agree with this and include the h5bp config file myself. |
Submit a feature request or bug report
Related to old PR discussion/comment #37 (comment) .
Google PageSpeed Insights recommends (and gives a higher score for)
leveraging browser caching, notably for static files.
Trellis already uses h5bp nginx server config and it also offers
basic configuration, useful for static files, notably expiry.
Note: Including this extra config can cause some side effects with the PHP related routing, see https://github.com/h5bp/server-configs-nginx/blob/master/doc/common-problems.md.
The text was updated successfully, but these errors were encountered: