Closed jpillora closed 9 years ago
My demo isn't working, maybe no localstorage in iframes ? http://jsfiddle.net/ZFexL/1/
However based on the source, I don't think getting deferred ajax results from the cache will work using jQuery.ajaxPrefilter as it fires asychronously, though I could be wrong...
jQuery.ajaxPrefilter
+1
incase anyone else comes looking here this is a good explanation of what you'd need to do get this working: http://blog.artlogic.com/2013/06/27/ajax-caching-transports-compatible-with-jquery-deferred/
My demo isn't working, maybe no localstorage in iframes ? http://jsfiddle.net/ZFexL/1/
However based on the source, I don't think getting deferred ajax results from the cache will work using
jQuery.ajaxPrefilter
as it fires asychronously, though I could be wrong...