python - Grab html from memcached if found, if not render and save to memcached -


For the operation of a specific controller, how do I check to see HTML in the memcatch for the first time, and yes, by cash Render. / P>

If not found, then present the html of the watch page, then take that HTML and archive it in memcached for future requests.

I really want to take it into the controller's action, because I want to see what the users are in the role, if they are logged in, and other logic



Comments