We had the same issue with ecommerce, where the cart wasn't showing the products properly.
Except that it only happened in certain situations. What's the implication of including HTTP::set_cache_age(0) in _config.php?
Sean
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
We had the same issue with ecommerce, where the cart wasn't showing the products properly.
Except that it only happened in certain situations. What's the implication of including HTTP::set_cache_age(0) in _config.php?
Sean
It will mean that all pages are served as dynamic pages, which means that proxy/cache usage won't be as efficient.
But, frankly, I think we need to be explicitly saying that certain page types are cachable, rather than saying certain page types are dynamic. It's a question of optimising download size vs. having features break.
This is why I think we should change the default.