Re: Document Caching

2002-03-07 Thread Rafiq Ismail (ADMIN)
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,

Re: Document Caching

2002-03-07 Thread Perrin Harkins
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

Document Caching

2002-03-06 Thread Rasoul Hajikhani
Hello People, Need your advise on how to cache a template under mod_perl... Any ideas? Thanks in advance -r

Re: Document Caching

2002-03-06 Thread Robert Landrum
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

Re: Document Caching

2002-03-06 Thread Rasoul Hajikhani
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

RE: Document Caching

2002-03-06 Thread Henigan, Timothy
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 .=

RE: Document Caching

2002-03-06 Thread Henigan, Timothy
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

RE: Document Caching

2002-03-06 Thread Cahill, Earl
Hajikhani [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 06, 2002 1:28 PM To: [EMAIL PROTECTED] Subject: Document Caching Hello People, Need your advise on how to cache a template under mod_perl... Any ideas? Thanks in advance -r

Re: Document Caching

2002-03-06 Thread Perrin Harkins
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

RE: Document Caching

2002-03-06 Thread Cahill, Earl
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

Re: Document Caching

2002-03-06 Thread Adekunle Olonoh
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