[Zope] Cached Variables

Andrew Milton akm at theinternet.com.au
Thu Jun 23 05:33:40 EDT 2005


+-------[ calisp at gmail.com ]----------------------
| Hi,
| 
| I am developing an application that is a front end to an RDBMS. 
| Sometimes, when loading a page, several scripts get called that all
| require the same information from the database.  It would obviously be
| costly for each script to call the same ZSQL method.  My method for
| avioiding this senario is...

ZSQL Methods can do their own caching... you can set it from the Advanced Tab
of the ZSQL Method. This should eliminate the overhead of multiple calls.


-- 
Andrew Milton
akm at theinternet.com.au


More information about the Zope mailing list