I have a mod_perl/CGI::Application program that I've written that populates
a HTML::Template with a list of files that are on the server. The program
also varies the list based on the query string (/list?c=magazines ...
/list?c=agents ... etc).
I'd like to cache that list, based on the URL, so that it doesn't have to do
a readdir(), grep() and also a TreeBuilder to get the TITLE everytime
someone visits the program.
Has anyone done something similar and can share any tips?
Does the cache-ing in HTML::Template also cache the params? If not, then
what is it cache-ing? Just the template itself? If it is, it looks like in
the docs, it caches, based on the filename - so if I'm using 1 template for
all those lists, then should I break it up into (the number of list
possibilites # {14}) templates?
Thanks,
Jason
-------------------------------------------------------
This SF.NET email is sponsored by: FREE SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users