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.

Archive /

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

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

Cache question

Go to End



14 Posts

26 September 2007 at 9:29am


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 cache and the 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.