Re: compress html templates when read from disk

2007-03-25 Thread Malcolm Edgar
Interesting idea, I would love to see some performance metrics. regards Malcolm Edgar On 3/24/07, yoursoft [EMAIL PROTECTED] wrote: Ok, a new version is available. This is an extended WebappLoader class, with in memory compression. I would like to make a general class, that can use any

Re: compress html templates when read from disk

2007-03-20 Thread yoursoft
Dear Developers, The first version is my class is available. It is a little performance tweak, because this read from disk only, when original template is changed, and make a cached compressed copy of it. With compressed input, the memory use is lower, velocity variables insertion is faster

Re: compress html templates when read from disk

2007-03-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 yoursoft, yoursoft wrote: Dear Developers, The first version is my class is available. It is a little performance tweak, because this read from disk only, when original template is changed, and make a cached compressed copy of it. Just to

Re: compress html templates when read from disk

2007-03-20 Thread yoursoft
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 yoursoft, yoursoft wrote: Dear Developers, The first version is my class is available. It is a little performance tweak, because this read from disk only, when original template is changed, and make a cached

compress html templates when read from disk

2007-03-09 Thread yoursoft
Dear Developers, I would like to write a plugin to velocity. This plugin will compress html templates when reading from disk (remove white-spaces, comments etc.), not when Velocity is write to output, because my cache modified check time is one hour. :-) Can you suggest any entry point