Gitlab is now using as it's primary address. Please update your bookmarks. FAQ.

Verified Commit 5b468647 authored by Laurent Heirendt's avatar Laurent Heirendt
Browse files

proposal to set no cache in headers

parent ddc225c8
Pipeline #28944 passed with stages
in 1 minute and 57 seconds
......@@ -3,10 +3,14 @@ function UrlExists(url, cb) {
url: url,
dataType: 'text',
type: 'GET',
cache: false,
complete: function(xhr){
if(typeof cb === 'function')
cb.apply(this, [xhr.status]);
headers: {
'Cache-Control': 'no-cache, no-store, must-revalidate',
'Pragma': 'no-cache',
'Expires': '0'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment