I make several Ajax calls to get files through jQuery as follows:
$.ajax({ url: "/resx.mvc", data: { virtualPath: options.virtualPath, keys: options.keys, global: options.global }, cache: true, success: function (values) { $.extend(assignTo, values); }, dataType: "JSON", traditional: true });
When I look at the request in Fiddler, I see that these two headers are sent, and my ASP.NET sends the expires header back to its response with -1:
Pragma: no-cache Cache-Control: no-cache
How to tell jQuery not to release no-cache?
jquery caching
PostgresQLNewb
source share