Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

Re: [JerryP] what are templates in compiled for & html editor Q

Quote Reply
Re: [JerryP] what are templates in compiled for & html editor Q In reply to
Hi,

The template parser will take your html template and turn it into a perl program you can find in the compiled directory. Then each time a template is displayed, it looks to see if you changed the original html file, if not, it will just run the perl code (rather then reparsing the template).

Under mod_perl it will also cache them in memory for even faster results.

if ($self->_get_var(q{is_ie5}, 0, 0)) {

means you have:

<%if is_ie5%>

in your template somewhere. Remove that, and the compiled one will be updated.

Cheers,

Alex
--
Gossamer Threads Inc.
Subject Author Views Date
Thread what are templates in compiled for & html editor Q JerryP 1735 Oct 4, 2001, 11:02 AM
Post Re: [JerryP] what are templates in compiled for & html editor Q
Alex 1671 Oct 4, 2001, 12:33 PM