Cashing Options
kennethm
Posted: Tuesday, November 25, 2008 11:09:50 AM
Rank: Enthusiast

Joined: 9/4/2007
Posts: 15
Location: Sweden
Hi!

Can anyone explain to me or point me to the right direction about cashing in macros?

There are three alternatives:

Cache period
Cahe by page
Cache personalized

Whats does it mean when only "cache by page" is checked and "cache period" is 0? What if "cache period is set to 100 and the others ar unchecked?

Dirk
Posted: Tuesday, November 25, 2008 11:45:29 AM

Rank: Umbracoholic

Joined: 9/27/2007
Posts: 1,123
Location: Belgium
Hi kennethm,

Cache period: number of seconds the output of a macro is kept in memory.
Cache by page: Applicable when a macro is used on different pages, output of the macro is cached for each individual page instead of caching the output for all pages (Be careful with the use)
Cache personalized: As is says, caches the page for each logged on member individually

Cache period set to 0 means no cache at all. Cache period to 100 and no checks means that the macro is cached for 100 seconds, and wherever the macro is used, the cached output will be used instead of rendering again.

Hope this helps.

Regards,
/Dirk


level 1 & 2 certified - umbraco MVP 2008/2009 - umbraco blog at netaddicts.be - working on an integrated forum4umbraco
kennethm
Posted: Tuesday, November 25, 2008 12:35:11 PM
Rank: Enthusiast

Joined: 9/4/2007
Posts: 15
Location: Sweden
Thank you for the reply!

The default is that cache period is set to 0 and cache by page is checked. That means that it will not cache at all?

Why should I be carefull with Cache by page?



Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.