[BFCache][Performance] Remove if not limit Cache-Control: no-store usage preventing BFCache on Chrome #46972
Replies: 11 comments
-
|
This is similar to #43388, not sure @wilsonge if you can share your thoughts on this proposal. Would it be possible to rethink the no-store usage for non sensitive pages? Joomla as a CMS seems to heavily overusing CCNS while other CMS don't, this penalize Web Performance of Joomla sites particularly on Back Forward navigations. |
Beta Was this translation helpful? Give feedback.
-
|
As far as I understood it happen because by default allowCache is false in I think we can allow cache on CMS level in Web or CMS application. Set |
Beta Was this translation helpful? Give feedback.
-
|
Hi @Fedik , nice to e-meet you! Enabling cache would work, but it could also be solved by simply removing no-store in the Do you think that there is a strong reason to keep Because by removing no-store only, all sites with those settings would benefit of BFCache while keeping all the According to public HTTP Archive data there are at least 98K Joomla sites in this situation. |
Beta Was this translation helpful? Give feedback.
-
Yes, for redirects and for administrator area where cache can hurt user experience in some cases. |
Beta Was this translation helpful? Give feedback.
-
|
I mean we definitely should do something. But it's hard with the way cores structured to identify that magic place. You have to have the magic combination of a public menu item, no plugins adding sensitive content and no modules adding sensitive content (and then of course invalidate all of that if a user logs in and that situation changes). Like we definitely could/should do better but I don't know how we can really calculate this situation easily. |
Beta Was this translation helpful? Give feedback.
-
|
Hi George, thanks for chiming in! I definitively agree with your concerns but from HTTP Archive it looks like approximiately 47% of Joomla origins already enable d Cache removing no-store I guess. I do wonder if those origins had some issues with sensitive data etc. I am not sure I can partition the data in HTTP Archive to figure it out if sites on newer version of Joomla are using more or less CCNS. Keeping CCNS on Admin pages only and if you have a way keep it on Login pages while avoiding it on Homepage, articles etc would be already a great step to improve performance overall. I suggest a great article from Weston about the topic: https://weston.ruter.net/2025/07/23/instant-back-forward-navigations-in-wordpress/ |
Beta Was this translation helpful? Give feedback.
-
|
I made PR to allow cache for Content views #46486 Do not close this issue for now. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for looking at this @Fedik |
Beta Was this translation helpful? Give feedback.
-
|
Thanks @Fedik to iterate on a possible solution, I've noticed that the PR was closed as it was desinged in a way that was not viable. Are you still considering opening a different PR to consider another approach to void this over use of |
Beta Was this translation helpful? Give feedback.
-
|
Currently no. Maybe some time later. |
Beta Was this translation helpful? Give feedback.
-
|
To be honest 48% of Joomla sites are using CCNS somehow from what I can tell from HTTP Archive. Could it be that developers are slowly improving Caching best practices when using Joomla perhaps? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone, while browsing HTTP Archive public dataset to identify large web performance opportunities I've noticed that the vast majority of Joomla sites seems to be using Cache-Control: no-store (CCNS).
Out of 218K sites using Joomla, 172K have BFCache not available due to "MainResourceHasCacheControlNoStore" BFCache blocking reason (source: HTTP Archive bigquery public data).
Does anybody knows if this high usage of CCNS is expected or could be reconsidered?
If CCNS is not actually necessary, do you have any mechanism to help developers:
Here there is some useful guidance about the topic: https://web.dev/articles/bfcache?hl=en#minimize-no-store
Chrome has recently released CCNS support upon some conditions but unfortunately this change didn't help Joomla sites CCNS usage: https://developer.chrome.com/docs/web-platform/bfcache-ccns
Happy to discuss if there are folks interested to unlock this great opportunity for Joomla sites.
Hope you appreciate the suggestion.
Cheers
Gil
Beta Was this translation helpful? Give feedback.
All reactions