Hi:

I've been trying without success to adapt the memcache decorator in
http://appengine-cookbook.appspot.com/recipe/decorator-to-getset-from-the-memcache-automatically/
to cache  a url from the request handler, with some code like:

class HomeHandler( webapp.RequestHandler ):
   @cache_url()
   def get( self ):
      ....
      ....

The key name could be based on the self.request.path.

Does anyone knows how to adapt it ? or just some other good way to
approach url caching ?

Thanks,
JP

--

You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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/google-appengine?hl=en.


Reply via email to