You need to be logged in to post in the forums. If you do not have an account, please sign up first.
Why Ajax request, using the GET method, cannot be cached in Opera?Please look at this small test:
It seems that Opera (mine is 10.10), in contrast to IE, FF, GC, and Safari, is not caching the ajax response, even if it is explicitly told to do that. Any ideas?
Originally posted by c69:
Just minor inconsistency.
And its not a good idea to cache the ajax requests at all, or rely upon such behaviour.
As to my mind, It's not a bad idea when you want to save the bandwidth if the ajax response's contents doesn't change fast, and such situations are quite common and legal. Plus, I'm in no way "relying" on caching in my webapps.
I made another test http://www.karapuz.by/media/js/ajax-GET-caching-test2.html , it uses more low level XHR object, not the jQuery's "ajax" as it was in the first test. And now Opera is fine!