Pages are taking between 10 and 20 seconds to load, and there are over 300 pages, so flushing the whole site is not optimal - especial during the upload pahse when pages are been added/editted all the time.
And like you say, the cache can be flushed from the admin section if required. Hmmm, if a nav node is added, the menu cache will need to be flushed - editting wont matter. On Mon, 18 Oct 2004 18:45:42 +1000, Gavin Cooney <[EMAIL PROTECTED]> wrote: > of course if you did this, the only way of actually flushing whole > blocks of content would be in the admin pages. No harm in that tho? > > > > > On Mon, 18 Oct 2004 18:37:45 +1000, Gavin Cooney <[EMAIL PROTECTED]> wrote: > > > > > > It wouldn't be too big of a job to change this. > > > > When you preview something at the moment it passes in a "flushcache=1" > > to the site. This then (as far as i can see) translates to > > request.mode.flushcache=true. > > > > Then around line 85 of /farcry_code/tags/webskin/cache.cfm > > it invokes the flushcache cfc. > > > > It flushes a whole block of caching. Whereas all you want it to do it > > flush one cachename, so that when this page is displayed it generates > > the content again. > > > > This should (totally untested) work like this: > > > > Line 89 of /farcry_code/tags/webskin/cache.cfm > > > > <cfinvokeargument name="lcachenames" value="#attributes.cacheName#"/> > > > > But you'll have to have a closer look. > > > > HTH > > > > Gav > > > > --- > You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] > To unsubscribe send a blank email to [EMAIL PROTECTED] > Aussie Macromedia Developers: http://lists.daemon.com.au/ > --- You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
