Caching

Hey all

How is the caching set up in radiant? As it uses its own caching system
doesn’t it, I am looking at doing something similar in another project,
however probably serving HTML rather than YAML but I cant fathom how
radiant
custom caching has been set up?

Can anyone help?

Cheers

Tim


This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk

Tim P. wrote:

How is the caching set up in radiant? As it uses its own caching system
doesn’t it, I am looking at doing something similar in another project,
however probably serving HTML rather than YAML but I cant fathom how radiant
custom caching has been set up?

Look at:

http://dev.radiantcms.org/radiant/browser/trunk/radiant/app/models/response_cache.rb

There are comments in the source so it should be fairly self
explanatory. Let me know if you have questions.


John L.
http://wiseheartdesign.com