You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This isn't a bug – more of a feature request / question regarding the current Cache-Control-implementation...
Having read up on the browser bfcache this morning and testing our site with Chrome's Dev Tools, I found it isn't comaptible due to no-cache, no-store, must-revalidate.
By default WP Rocket seems to be using max-age=0 and that allows for the bfcache to be applied.
I have adjusted the template file accordingly but was wondering if you see any major downsides when it comes to tweaking the Cache-Control-header in this fashion?
Or maybe the max-age=0 could become the default and all sites would benefit from a bfcache...?
Thanks a lot for providing this config, very helpful! 🙏
The text was updated successfully, but these errors were encountered:
Then, run the rocket-parser.php file again, reload the Nginx configuration, and you're done!
For security reasons, I will not change the default configuration to make it compatible with BF Cache. It will be up to the server administrator to validate if the website can have its data in cache.
I tested it on my personal website and it works as shown from the Dev Console > Application tab under the Back/forward cache section (under Background services).
This isn't a bug – more of a feature request / question regarding the current
Cache-Control
-implementation...Having read up on the browser bfcache this morning and testing our site with Chrome's Dev Tools, I found it isn't comaptible due to
no-cache, no-store, must-revalidate
.By default WP Rocket seems to be using
max-age=0
and that allows for the bfcache to be applied.I have adjusted the template file accordingly but was wondering if you see any major downsides when it comes to tweaking the
Cache-Control
-header in this fashion?Or maybe the
max-age=0
could become the default and all sites would benefit from a bfcache...?Thanks a lot for providing this config, very helpful! 🙏
The text was updated successfully, but these errors were encountered: