On Wed, 6 Mar 2002, Rasoul Hajikhani wrote:
Robert Landrum wrote:
#startup.pl
open(FILE,/path/to/tmpl);
$MY::TEMPLATE .= while(FILE);
close(FILE);
Thanks... But I use Template Toolkit to generate a dynamic file. How
would the above code work in that situation?!
Not how I'd do it,
Cahill, Earl wrote:
I would not be opposed to calling a different,
more standard function to check the cache (set up in a more standard way),
and then fetch accordingly.
Look at how the Memoize module does it. You may be able to do something
similar that would allow caching to be added
At 12:28 PM -0800 3/6/02, Rasoul Hajikhani wrote:
Hello People,
Need your advise on how to cache a template under mod_perl... Any ideas?
Thanks in advance
-r
#startup.pl
open(FILE,/path/to/tmpl);
$MY::TEMPLATE .= while(FILE);
close(FILE);
Provided that you never change $MY::TEMPLATE, this
Robert Landrum wrote:
At 12:28 PM -0800 3/6/02, Rasoul Hajikhani wrote:
Hello People,
Need your advise on how to cache a template under mod_perl... Any ideas?
Thanks in advance
-r
#startup.pl
open(FILE,/path/to/tmpl);
$MY::TEMPLATE .= while(FILE);
close(FILE);
Provided that you
Rasoul Hajikhani wrote:
Robert Landrum wrote:
At 12:28 PM -0800 3/6/02, Rasoul Hajikhani wrote:
Hello People,
Need your advise on how to cache a template under
mod_perl... Any ideas?
Thanks in advance
-r
#startup.pl
open(FILE,/path/to/tmpl);
$MY::TEMPLATE .=
Timothy Henigan wrote:
At Wednesday, March 06, 2002 4:23 PM
Rasoul Hajikhani wrote:
Robert Landrum wrote:
At 12:28 PM -0800 3/6/02, Rasoul Hajikhani wrote:
Hello People,
Need your advise on how to cache a template under
mod_perl... Any ideas?
Thanks in advance
I am finishing up a sort of alpha version of Data::Fallback (my own name)
which should work very well for cache'ing just about anything locally on a
box. We are planning on using it to cache dynamically generated html
templates and images. You would ask a local perl daemon (using Net::Server)
Cahill, Earl wrote:
I am finishing up a sort of alpha version of Data::Fallback (my own name)
which should work very well for cache'ing just about anything locally on a
box. We are planning on using it to cache dynamically generated html
templates and images. You would ask a local perl
Hmmm... isn't that sort of backwards? It sounds like you're
considering
the problem as building a cache that can be taught how to
fetch data,
but to me it seems more natural to build components for fetching data
and teach them how to cache.
The semantic for describing how
Need your advise on how to cache a template under mod_perl... Any ideas?
Thanks in advance
Thanks... But I use Template Toolkit to generate a dynamic file. How
would the above code work in that situation?!
You should probably post this to the Template Toolkit mailing list for
more info
10 matches
Mail list logo