Re: Caching of Silva Documents

Samuel Schluep <[email protected]>
Newsgroups gmane.comp.web.zope.silva.devel
Message-ID <[email protected]>
eric casteleijn wrote:
> Samuel Schluep wrote:
>> Hi
>>
>> It seems to me that the caching of published Silva Documents does not 
>> work anymore in the Silva 1.6 trunk version somewhere around r23374. 
>> Documents are always fully rendered. Can anybody reproduce this 
>> behavior? Or did I miss some settings?
>
> Hi Samuel,
>
> Are you experiencing this with xslt rendering on, off, or both?

I am experiencing this with xslt rendering off. In
Silva/VersionedContent.py (lines 268 - 272, Silva-1.6b4-all.tgz) I added
some test print statements :

        data = self._get_cached_data(cache_key)
        if data is not None:
            print 'cached'
            return data
        print 'not cached'

Viewing published documents always prints 'not cached'.

Sam
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.