Juliusz Gonera wrote:

I can't find where the cache of the @beaker_cache decorator is stored. I
thought it should be in the data directory but it's not. It's also not
in /tmp. I tried setting beaker.cache.data_dir = %(here)s/data/cache and
creating the directory manually but it's still not there (the dir is
always empty).

However, the cache works. If I refresh the page the second time I see no
database queries. Where is it stored then?

I wrongly assumed that the default for cache type was something file-based (Pylons Book says "If no cache_type is specified, the default used is dbm", http://pylonsbook.com/en/1.1/using-view-templates.html#caching). The default is 'memory' though and this answers my question.

http://stackoverflow.com/questions/4532212/location-of-beakers-beaker-cache-cache-in-pylons
--
Juliusz Gonera
http://juliuszgonera.com/

--
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to