Feb 02
In my quest for performance increases and saving on server resources I’m trying out Brandon Purcell’s cf_accelerate caching solution on my blog here.
It took a couple of attempts to get it working as i wanted, simply wrapping the entire page in the tags worked great, but when i logged in to create new posts i still saw the cached version - not good! It defaults to using a primary key of the query string and a secondary key of ‘default’, so at the moment i’ve got one cf_accelerate around the articles (using the query string as the PK and a named secondary key of ‘articles’) and a second around the ‘posts by subject’ pod with a similar call, there’s a third one wrapped round the RSS output generator too - just to reduce the number of Db hits occuring when you lot hit my feeds. It needed another piece of custom fusebox lexicon to integrate it into my code base so that’ll be another entry at some point.
What’s cool about cf_accelerate is that Brandon supplies a cool ‘Cache Manager’ app so you can see what/where and when caching is occuring and you can view cached info, purge it or set up skimmers to refresh cached info
Leave a Reply
February 3rd, 2005 at 6:49 am
It’s difficult to implement it in fusebox 3 applications? If it’s not could be a hit!!
February 5th, 2005 at 4:33 am
I don’t see why it wouldn’t work with fb3 applications, since there’s still a ColdFusion cfswitch block you wouldn’t need the custom verb like i’m using for fb4.1. You could try wrapping a cf_accelerate round a few cfincludes. Since there’s no content variable in fb3 then you probably would only need to let the tag use the default for primary key and secondary key.
June 27th, 2006 at 6:40 am
I used cf_accelerate in fb3 - as you mentioned between cfswitch-tags - worked great.
Could explain how you implemented it in fb4/fb5?
June 27th, 2006 at 9:46 am
I’d written a custom Fusebox verb which called cf_accelerate for me - this is something which would work in Fusebox 4 as well as the upcoming Fusebox 5 release. I’m not sure where i’d have put the file though…
July 3rd, 2007 at 2:28 pm
Is the ‘cache manager’ available anywhere to download online? I can’t seem to find a download. TIA!
August 1st, 2007 at 12:12 pm
You can find the admin here http://www.bpurcell.org/blog/index.cfm?mode=entry&entry=971