I followed the example at http://pylonshq.com/docs/0.9.5/caching.html
on using the cache object, but it doesn't cache the function results,
which is a simple string.

To debug, I made my expensive_function increment a session counter so
I can tell when it runs; it increments with each request, but it
shouldn't if the value is set from the cache.  I can also see that a
query is run in my function with each request that should not be run
once it's cached.

Any ideas why this isn't working?


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to