Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > Full page cache (output caching) View modes: 
User avatar
Member
Member
Andy - 12/11/2012 10:13:33 AM
   
Full page cache (output caching)
Hey - I am trying to observe full page caching in action on my site and cannot see that it is happening.
Following this
http://devnet.kentico.com/Blogs/Martin-Hejtmanek/August-2010/Deep-dive--Cache-dependencies.aspx

I see that the Full page cache key is:

pageinfo|<sitename>|<aliaspath>|<culture>|<urlpath>|<combinewithdefaultculture> e.g. pageinfo|corporatesite|/home|en-us||true

Oddly, the cache key for PageInfo caching (per the same article) is also

pageinfo|<sitename>|<aliaspath>|<culture>|<urlpath>|<combinewithdefaultculture> e.g. pageinfo|corporatesite|/home|en-us||true

how do you tell which is which? seems odd that they would both use the same key.

I have output cache turned on in System|Settings|Performance, but in debug mode, I still see individual datasets (plus basic pageinfo cache GETS being accessed from the cache) in other words I don't see the output cache working

am I looking in the wrong place?

thanks



User avatar
Kentico Support
Kentico Support
kentico_jurajo - 12/12/2012 7:14:04 AM
   
RE:Full page cache (output caching)
Hi,

The example you used is the dependency key - it is not the cache item key. The dependency key tells the system, where everywhere the cache should be flushed if something is changed.

Could you please also check e.g. on the root document's Properties tab -> General section that the output cache is enabled? And then on that particular document you can check the same setting whether it is set to YES or INHERITED?

Best regards,
Juraj Ondrus

User avatar
Member
Member
Andy - 12/12/2012 8:41:55 AM
   
RE:Full page cache (output caching)
Thanks Juraj,
It must be the root document level settings have it turned off.
Are you sure that my samples are dependency keys? Not doubting you.. I know you do this for a living, but in the debug cache view, the top list is cache data items and the bottom list dependency keys.
the dependency keys all look like this
node|corporatesite|/home|en-us
node|corporatesite|/home
cms.user|all
attachment|1ced44f3-f2fc-
etc
(there's a big table in this page)
http://devnet.kentico.com/Blogs/Martin-Hejtmanek/August-2010/Deep-dive--Cache-dependencies.aspx
about 2 Page-downs into the document. None of the dependency keys start with pageinfo

Thanks again anyway.

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 12/14/2012 3:21:17 AM
   
RE:Full page cache (output caching)
Hi,

Yes, I am sure :-)
In that table the keys are the dependency keys - those are not holding the actual data assigned to them, they just tell where to find them. The whole article is about dependency keys. The actual cache item key, which is always different, can be seen on one of the scree shots from the Cache access tab.

Best regards,
Juraj Ondrus