Hi all,

Mako provides pylons with view-level caching (see:
http://www.makotemplates.org/docs/caching.html).

>From the docs, mako only understand cache_type of: db, memory, file, and
memcache.

Inside Pylons, one can configure beaker.cache.type using their own beaker
extension.

So my question is:
Is there a way to make Mako aware of beaker.cache.type setting inside
Pylons?

Ideally:

# development.ini
beaker.cache.type = ext:beaker_tyrant
beaker.cache.url = 127.0.0.1:1979

# some_view.mako
<%def name="my_mako_function" cached="True" cache_timeout="3600"
cache_type="beaker_tyrant">

- Didip -

--~--~---------~--~----~------------~-------~--~----~
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