Aside from page caching...is there fragment caching? In other words...page caching doesn't really help when you have a header on your page with logged in users etc. You can't serve that page. Is there a way, like Rails, to fragment cache parts of your template?
Thanks, Sam. On Aug 10, 12:15 pm, Michael Bayer <[EMAIL PROTECTED]> wrote: > 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 -~----------~----~----~----~------~----~------~--~---
