Quantcast
Channel: Code Snippets – Chris Bloom
Viewing all articles
Browse latest Browse all 10

Cache busting AJAX requests and redirects

$
0
0
AJAX get and head requests are cached by default. This can cause problems when AJAX requests use the same URLs as a user would use during normal site navigation. jQuery can disable caching on a global or per-request basis. When doing so, jQuery adds a _={timestamp} parameter to the query string which should make each […]

Viewing all articles
Browse latest Browse all 10

Trending Articles