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've moved the forum!

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.

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   4231 Views

Avatar
Sean

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?

Sean

Avatar
Sam

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