php - Disabling browser cache when using AJAX -


Why do you need to disable browser cache when sending a request through AJAX?

You do not , but it will disable any other browser cache For the reason ... you want to stop the browser from using the previously received feedback ... In other words you want to offer the latest server.

Cache headers are generally sufficient from the server , and you do not need to do anything other than other ... especially, IE is the most reason of the time, it likes the cache with hell response, requires a query-string cache breaker to get a non-cached response.


Comments