Re: [Zope] How to specify caching for ZSQL methods on file system

2006-03-02 Thread Martijn Pieters
On 3/2/06, Yuan HOng [EMAIL PROTECTED] wrote: Can anyone give some clues as how to do this for ZSQL on FSDV? I suppose I might need to write some *.metadata file to specify these properties using FSDV? You must specify the cache settings in the .zsql file itself, using a dtml-comment block at

Re: [Zope] How to specify caching for ZSQL methods on file system

2006-03-02 Thread Stefan H. Holek
You are close ;-) The info goes into a dtml-comment block at the start of the file. dtml-comment title: Foo arguments: foo bar max_rows: 1000 max_cache: 100 cache_time: 60 /dtml-comment ... Stefan On 2. Mär 2006, at 15:15, Yuan HOng wrote: I have some ZSQL methods written on the file