you'll need to write a ResourceLoader

basically modify the ResourceLoader you are using to still check everything from the actual file, but read from a parsed file.



llewellyn.

----- Original Message ----- From: "yoursoft" <[EMAIL PROTECTED]>
To: <dev@velocity.apache.org>
Sent: Friday, March 09, 2007 5:02 AM
Subject: compress html templates when read from disk


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 where I made it? (In ContentResource.java at setData(sw.toString())???)

Best Regards,
   Ferenc Lutischan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to