Wednesday, August 25, 2010

Re: Caching JSON in Django

On 08/24/2010 11:15 PM, buddhasystem wrote:
>
> I'm trying to use native caching in Django as per
> http://docs.djangoproject.com/en/dev/topics/cache/
>
> I followed the setup procedure to the tee (it's not hard, of course). What I
> observe is that my app caches only views that deliver HTML. Since my
> application is heavily AJAX, that's not what I want -- I want to cache JSON
> -- but it doesn't work!
>
> Any hints how I can make it work?

Quick guess: difference in RequestContext between regular html pages and
ajax views?


Reinout

--
Reinout van Rees - reinout@vanrees.org - http://reinout.vanrees.org
Programmer at http://www.nelen-schuurmans.nl
"Military engineers build missiles. Civil engineers build targets"

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate