Skip to content

Cache-Control values could support bfcache usage? #197

@E-VANCE

Description

@E-VANCE

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! 🙏

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions