Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

Adding "You're logged in as" to a page

Go to End

10 Posts   4064 Views


Forum Moderator, 922 Posts

21 April 2008 at 1:27pm

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?



Administrator, 690 Posts

21 April 2008 at 4:07pm

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.

Go to Top