But even when using pickling: when I try to access cache within django backend - all is ok. But when I try to get data through nginx directly - uwsgi just closes connection and nothing else happens.
Maybe, nginx or uwsgi config I've provided is not correct? -- Regards, Lev Lemkov ________________________________________ From: [email protected] [[email protected]] on behalf of Riccardo Magliocchetti [[email protected]] Sent: Monday, July 09, 2012 9:38 PM To: [email protected] Subject: Re: [uWSGI] access uwsgi cache via nginx Il 09/07/2012 17:22, Lev Lemkov ha scritto: > http://projects.unbit.it/uwsgi/wiki/CachingFramework [snip] > > Well, I can use uwsgi cache within django project, but still can not make it > working with nginx. > > And one more question: why pickle is used at sample caching backend? can i > store raw python objects? i don't think so, you need something to serialize objects, you can change the uwsgi django cache backend to use something else like marshal or json if you want. Other backends used pickle so i've used that too. thanks, riccardo _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
