Ryan,
Il 28/07/2011 09:08, Ryan Showalter ha scritto:
However, I came across a slight issue that needs attention. The
django cache middleware example that is posted on the website is not
completely functional as-is. I think this is due to a bug in uWSGI.
the "set" method does not update cache entries that are already
stored. It acts like the "add" method.
you've found a quite embarassing bug :) I've missed that cache_set was
not overwriting the previous value. Roberto kindly added a new function
cache_update in latest tip that does that and i've updated the code in
the wiki accordingly.
See the diff:
http://projects.unbit.it/uwsgi/wiki/CachingFramework?action=diff&version=19&old_version=17
Unfortunately it'll take a bit to me to test that so could you please
give it a try?
thanks,
riccardo
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi