that makes sense. If you have the header and footer in the /types/ folder (rather than a specific type), then it gets integrated as a webskin into each type. So if you go look at the stCoapi structure, each type will have a displayHeaderStandard, even though you might only have one actual file.
With the caching, each view is cached separately.... so that if you cache displayPageStandard, it will cache the entire page, but it will also cache (separately) displayHeaderStandard and displayFooterStandard so that it can load those up fast on a non-displayPageStandard page... if that makes sense... On Wed, Nov 18, 2009 at 10:11 PM, AJ Mercer <[email protected]> wrote: > it looks like there is a different cache for each typename > > My footer for example, is used by 3 different types and I am getting three > different timestamps (dubugging to see what is and isn't changing) > > No biggy - just saying > > > 2009/11/19 AJ Mercer <[email protected]> > > I have the ajax part working - because it is another request call (from the >> browser), it essentially lives outside the original request and is therefore >> not affected by it's caching. >> >> I will move may caching out of displayPageStandard and into header and >> footer - that seems like a practially (and workable) solution. Thanks >> >> >> >> >> >> 2009/11/19 Tomek Kott <[email protected]> >> >> 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]<farcry-dev%[email protected]> >>> For more options: http://groups.google.com/group/farcry-dev >>> -------------------------------- >>> Follow us on Twitter: http://twitter.com/farcry >> >> >> >> >> -- >> 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
