In Pylons, how do I perform actions after writing the response?
Posted
by Chung Wu
on Stack Overflow
See other posts from Stack Overflow
or by Chung Wu
Published on 2010-05-25T19:46:10Z
Indexed on
2010/05/25
23:11 UTC
Read the original article
Hit count: 228
In a pylons controller, I would like to first return the response to the request (so that the user gets a response ASAP), and then perform some additional operations (say, updating view counts, etc.) that didn't need to happen to generate the response. What's the best-practice for doing things like this?
Thanks!
© Stack Overflow or respective owner