From: Vlad S. <vl...@cr...> - 2006-07-13 19:48:32
|
I meant .tcl file cacheing, which is in tcl/file.tcl when enabletclpages=on then all requests to .tcl are cached in global cache. Stephen Deasey wrote: > On 7/12/06, Andrew Piskorski <at...@pi...> wrote: >> On Wed, Jul 12, 2006 at 04:03:37PM -0400, Vlad Seryakov wrote: >>> Naviserver does it automatically, it was ported a long time ago >> Awesome, that's good to know. >> > > It doesn't actually... > > Byte code can only be cached per-interp and our caches are > server-wide. Currently, it's just caching the read of the Tcl source > from disk. > > I think the way to go here is to merge Tcl pages in with the ADP page > code. What's the difference between an ADP page like this: > > <% > # Entire page is Tcl... > %> > > ...and a *.tcl page under the page root? Nothing, practically. > They're both 'ADP pages' with one Tcl chunk. > > The ADP stuff in aolserver 4.5 has *output* caching. Tcl pages would > be able to take advantage of output caching if they were just > one-chunk ADP pages. > > This is on my todo list, but not for a while, so this might make a > nice project for someone. Someone needs to write a few tests for the > ADP stuff first -- aolserver seems to have broken the ADP stuff during > development. A nice small project for someone... > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > naviserver-devel mailing list > nav...@li... > https://lists.sourceforge.net/lists/listinfo/naviserver-devel > -- Vlad Seryakov 571 262-8608 office vl...@cr... http://www.crystalballinc.com/vlad/ |