Jump to:

17452 Posts in 4473 Topics by 1971 members


SilverStripe Forums » Archive » Cache question

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

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

Page: 1
Go to End
Author Topic: 976 Views
  • siulun
    14 Posts

    Cache question Link to this post


    I've done a bit of research into SS and it is very promising, but I have a question regarding how SS handles caching. From a dig around, I see the caches are not direct output caching based on the request URI rather - it seems to be "caching" the template file - which seems a bit pointless as the template files already exist (I'm looking at the tutorial page.ss cache and the page.ss template itself and it is pretty much identical), within the cache files there are many codes like this:

    $val .= $item->XML_val("Content",null,true) ;
    $val .= <<<SSVIEWER

    Do these functions call the database in order to pull contents out for a specific page? I would really like to know how the caching works in SS as the only thing that would be holding me back from using it is exactly that as it will not at all go down well with sites with moderately heavy traffic.


Page: 1
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.