Re: [Mason] caching inside a module

2008-06-18 Thread Jonathan Swartz
Mason's did add a few caching features above and beyond Cache::Cache. All such features have been included in CHI, so using CHI you should be able to do anything that $m->cache can do. On Jun 17, 2008, at 9:09 AM, Charlie Katz wrote: > To quote the Mason book, "Mason's caching system is merel

Re: [Mason] caching inside a module

2008-06-17 Thread Charlie Katz
To quote the Mason book, "Mason's caching system is merely a thin wrapper over DeWitt Clinton's excellent Cache::Cache modules." (According to masonhq.com, Mason now can use either Cache::Cache or CHI) In an external module, you can just use Cache::Cache directly. No need to access it through

[Mason] caching inside a module

2008-06-17 Thread Ryan
I'd like to do some caching inside a module I use for my site. Should I approach this as an external script or is it safe to: HTML::Mason::Something->cache->set('key', $result); Also, if it is safe to do that, what is something?