[Templates] Turning file version checking off

Bill Ward bill@wards.net
Thu, 21 Sep 2006 09:31:47 -0700


On 9/21/06, Andy Wardley <abw@wardley.org> wrote:
> 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

But there's no way to set it to NEVER check for a newer template?

-- 
Help bring back the San Jose Earthquakes - http://www.soccersiliconvalley.com/