News for hackers. Stuff that matters.
Re:Caching AJAX calls with local storage by ef4 on Friday July 20, 2012 @08:12AM (#4270373)
There's no reason AJAX calls can't get cached the normal way. Just set appropriate headers on the response and the browser will cache it for as long as you want.
Re:Caching AJAX calls with local storage by robinkomiwes on Friday July 20, 2012 @08:33AM (#4270429)
I'm completely aware that in most cases, the browser should do the job.

Like I said before, we wanted to have a programmatic access to our cache. It let us read what is cached, update it or destroy it when some events occurs.