sorry, docs are weak in this area. theres a "cache_url" argument which references a memcached URL, and you apply this argument to the < %page> or <%def> tag.
im not sure if people have used memcached with Mako yet so let us know how it goes. On Aug 10, 4:29 am, SamDonaldson <[EMAIL PROTECTED]> wrote: > Hello, > > I installed the memcached client for python and installed memcached > server. I'm wondering how page caching would work if I were to do > something like this: > > <%page cached="True" cache_type="memcached"/> > ...... > <% end %> > > How does Mako know where my memcached server is located? Can I give > this declaration a timeout as a param? How do I check whether there's > a cached copy for that fragment in the controller action to avoid > repeating any backend queries if the fragment is already cached in > memcached? > > Thanks for you help. I'm reading the Mako docs but there's really not > much there. > > Sam --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
