Re: [Maypole] Mason caching

From: Brian Glass (brian at glassbrian.com)
Date: Wed Sep 29 2004 - 21:01:34 BST


No, I had not seen that. Thanks for pointing that out.

If I'm not mistaken this will not automatically update the cache if
recent changes (i.e. 5 minutes ago by another user) have been made to
the DB. In that case the Mason caching will not be as fast as
Maypole::Cache, but will be more acurate since it doesn't cache actual
output - but compiled templates. Correct me if I'm wrong.

Thanks. I didn't know there was a dev list. It took a google search to
find it. It's not mentioned on the Maypole site.

Marcus Ramberg wrote:

> Did you see Maypole::Cache ? Anyhow, you can submit patches on the dev
> list.
>
> Marcus
>
> On 29. sep. 2004, at 19.40, Brian Glass wrote:
>
>> In order to help speed things up I've made a simple hack (cludge) to
>> Maypole::View::Mason. It allows setting the data_dir parameter so
>> that compiled templates are cached to disk. It requires setting a
>> global package variable from your Maypole application.
>>
>> Where or to whom should I post the patch?
>>
>> It might actually be nice to be able to pass values to the template
>> mechanism through the proper channels so globals aren't needed.
>>
>> _______________________________________________
>> maypole mailing list
>> maypole at lists.netthink.co.uk
>> http://lists.netthink.co.uk/listinfo/maypole
>
>
>

_______________________________________________
maypole mailing list
maypole at lists.netthink.co.uk
http://lists.netthink.co.uk/listinfo/maypole



This archive was generated by hypermail 2.1.3 : Thu Feb 24 2005 - 22:25:56 GMT