[Templates] Turning file version checking off

Andy Wardley abw@wardley.org
Thu, 21 Sep 2006 10:06:40 +0100


Bill Ward wrote:
> Aye, 'tis.  But as far as I could see, the question was never really
> answered, just a lot of back and forth on whether or not it should be
> answered.

Yes, that's the correct way to do it.  Set $STAT_TTL to a larger number than 
the default value of 1 (second).

     use Template;
     $Template::Provider::STAT_TTL = 60 * 60;   # one hour

A