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, biapar, Willr, Ingo, simon_w

Cache question


Reply


1009 Views

Avatar
siulun

14 Posts

26 September 2007 at 9:29am

Hi,

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:

SSVIEWER;
$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.

Regards