unfortunately any webskin that holds an uncached webskin will also be uncached. So if you have: displayPageStandard --->displayPageHeader (cacheStatus: 1) --->displayBody (cacheStatus: -1) --->displayPageFooter (cacheStatus: 1) Then displayPageStandard will not be cached, but the Header and Footer will still be cached, thus saving *some* loading time.
Forms are therefore better to have on their own page (at least that's how I do it) so that they don't slow things down for everything else. However, I'm not sure how to AJAX something so it doesn't cache.... I'm hoping for a response for this as well... Tomek On Wed, Nov 18, 2009 at 9:48 PM, AJ Mercer <[email protected]> wrote: > I have put > <!--- @@cacheStatus: -1 ---> > > into displayBody templates which are called by displayPageStandard > but this seems to have stopped the caching on the whole page. > > 2009/11/18 AJ Mercer <[email protected]> > >> At cf.O(anz) Mat was showing me how to do caching in Farcry 5.2. It all >> made sence at the time, but now I have gone blank. >> >> I have added >> <!--- @@cacheStatus: 1 ---> >> to my displayPageStandard.cfm >> >> and put the login form / log out button into it's own webskin and made >> activated ajax. >> This is working nicely. >> >> What I am not sure about though is how to not cache parts of a page. >> For examples, doing a form submit and displaying results >> >> -- >> AJ Mercer >> http://webonix.net >> http://twitter.com/webonix >> > > > > -- > AJ Mercer > http://webonix.net > http://twitter.com/webonix > > -- > You received this message cos you are subscribed to "farcry-dev" Google > group. > To post, email: [email protected] > To unsubscribe, email: > [email protected]<farcry-dev%[email protected]> > For more options: http://groups.google.com/group/farcry-dev > -------------------------------- > Follow us on Twitter: http://twitter.com/farcry -- You received this message cos you are subscribed to "farcry-dev" Google group. To post, email: [email protected] To unsubscribe, email: [email protected] For more options: http://groups.google.com/group/farcry-dev -------------------------------- Follow us on Twitter: http://twitter.com/farcry
