ez at engineyard.com
Tue Jan 2 11:10:22 EST 2007
On Jan 2, 2007, at 7:44 AM, Fernand Galiana wrote:
> I am just starting playing with merb and was wondering if there
> is any caching
> strategy available. I was planning on using the action caching
> plugin but I am
> quiet sure what is the merb plan with dealing with plugins...
> Any idea or suggestions ?
Right now the merb handler will look for cached pages in public/
just like rails page caching. If you request /foo/1 it will first
look for /foo/1.html and render that instead of calling the
controller. As far as action caching goes it is as yet unimplemented.
I will take a look today at creating a compiled template cache and
then we can go from there.
I don't think that the action cache plugin will work without some
major modifications. As a rule, any rails plugins that only add or
alter Active Record models or are just helpers will usually work
without many changes. But rails plugins that hook into action
controller or action view just won't work out the box with merb since
merb implements its own actionpack.
Check in with me later today on the #merb irc channel onf
irc.freenode.net and I will give you the scoop on how I want cachign
to work in merb and I can get some feedback.
-- Ezra Zygmuntowicz
-- Lead Rails Evangelist
-- ez at engineyard.com
-- Engine Yard, Serious Rails Hosting
-- (866) 518-YARD (9273)
More information about the Merb-devel