Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Adding "You're logged in as" to a page

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

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

Page: 1 2
Go to End
Author Topic: 3389 Views
  • Sean
    Avatar
    Forum Moderator
    921 Posts

    Re: Adding "You're logged in as" to a page Link to this post

    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

  • Sam
    Avatar
    Administrator
    679 Posts

    Re: Adding "You're logged in as" to a page Link to this post

    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.

    3389 Views
Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.