Re: [Maypole] Mason caching

From: Marcus Ramberg (marcus at thefeed.no)
Date: Thu Sep 30 2004 - 07:58:31 BST


Actually, it is mentioned here:
http://maypole.perl.org/?MailingList
Simon's website is obsolete, this is the new one. Hopefully we will get
up a forward sometime soon.

Marcus

On 29. sep. 2004, at 22.01, Brian Glass wrote:

> 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

_______________________________________________
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