Wednesday, April 27, 2011

Re: How can I force a browser to cache my view?

Hi Javier,

2011/4/27 Javier Guerra Giraldez <javier@guerrag.com>
On Wed, Apr 27, 2011 at 10:48 AM, Oliver Andrich
<oandrich@googlemail.com> wrote:
> So, I was looking into possible solutions. As you can't download anything
> via ajax directly, you have to trick the browser into caching it and then
> "download" the cached version.

can't you create an invisible iframe and do the download there?
(disclaimer, i haven't tried that myself, just done similar things for
uploads)

Thanks, that works like a charm and is much easier to implement.

Best regards,
Oliver

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