[Catalyst] Catalyst::View::TT - strange caching annoyance

Wade.Stuart at fallon.com Wade.Stuart at fallon.com
Wed Sep 13 19:08:49 CEST 2006







catalyst-bounces at lists.rawmode.org wrote on 09/13/2006 11:53:41 AM:

> However, TT should update its cache automagically (keyed on mtime) --
> even if you use the "full" compiled (to-disk) template cache.
>
> Questions:
>
> 0. What version of TT, Catalyst, and C::V::TT are you using?
>   (Find out with perl -MCatalyst -e 'print Catalyst->VERSION', etc.)
>
> 1. Can you provide us with a case where regular TT correctly refreshes
> the template, but C::V::TT doesn't?
>
> 2. If not (i.e. regular TT breaks too), do mtimes work on your system?

3.  Please verify where, what fstype and what hw type (disk, lvm, vxvol,
tmp, tmpfs etc) for the mount point containing the templates.
>
> My guess is that something is wrong with your system; outdated TT, buggy
> filesystem, etc.  It's very possible that I'm completely wrong, but my
> templates are fully cached (on disk) and do update properly.  I haven't
> tried the code you sent because it's too complicated and is certainly
> not the minimum required to reproduce the bug.  Does:
>
> cat > root/test.tt2 << EOF
> Hello, world?
> EOF
>
> change when you apply
>
> - Hello, world?
> + Hello, world! This changed!
>
> Something like that would be much simpler for me (and others) to test.
> Thanks!
>
> Regards,
> Jonathan Rockway
>
>
> Jason Kohles wrote:
> > On 9/13/06, Einon <einon at animehq.hu> wrote:
> >> Hi!
> >>
> >> I found an interesting bug in Catalyst::View::TT. Catalyst caches
wrong
> >> templates even if I do not use caching.
> >>
> > Regardless of whether you have Catalyst configured to do caching,
> > Template Toolkit does it's own in-memory caching by default.
>
> [attachment "signature.asc" deleted by Wade
> Stuart/FALMSP/USA/NA/FALLON]
_______________________________________________
> List: Catalyst at lists.rawmode.org
> Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
> Searchable archive:
http://www.mail-archive.com/catalyst@lists.rawmode.org/
> Dev site: http://dev.catalyst.perl.org/




More information about the Catalyst mailing list