[Radiant] caching
Daniel Sheppard
daniels at thegroggysquirrel.com
Wed Mar 21 17:48:16 CDT 2007
> > In production mode, Radiant uses page level caching right?
> >
> > Settings (environment.rb and environments/production.rb)
> look like page level
> > caching, but I thought page level caching wrote files to
> the public/ directory?
> > I'm confused on the pages being cached as .yml in the
> cache/ directory?
>
> Radiant uses a custom caching system built on top of the
> Rails caching
> system (I believe that would be page level caching). Files
> are cached as
> yaml because the entire response is cached including the headers--not
> just the HTML.
The caching in radiant is most similar to rails action caching, not page caching. The radiant custom cache has caused a few problems
for people trying to do session-based things with radiant code, but it significantly outperforms the rails action cache (or at
least, it does in the mental branch).
Dan.
More information about the Radiant
mailing list