configuration-templates – Diff between revs 18 and 19

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 18 Rev 19
Line 354... Line 354...
354 # 1 Week 354 # 1 Week
355 if(beresp.http.content-type ~ "(?i)(image/(vnd\.microsoft\.icon|x\-icon))|(application/manifest\+json)|(text/x\-cross\-domain\-policy)") { 355 if(beresp.http.content-type ~ "(?i)(image/(vnd\.microsoft\.icon|x\-icon))|(application/manifest\+json)|(text/x\-cross\-domain\-policy)") {
356 set beresp.http.Expires = "" + (now + 1w); 356 set beresp.http.Expires = "" + (now + 1w);
357 } 357 }
358 # Immediately 358 # Immediately
359 # Not exactly "immediately" since we do not want to have to recache on fast reloads - ideally, set this to average page log time. 359 # Not exactly "immediately" since we do not want to have to recache on fast reloads - ideally, set this to average page load time.
360 if(beresp.http.content-type ~ "(?i)(application/(json|ld\+json|schema\+json|vnd\.geo\+jsonxml|x\-web\-app\-manifest\+json))|(text/(xml|cache\-manifest|html))") { 360 if(beresp.http.content-type ~ "(?i)(application/(json|ld\+json|schema\+json|vnd\.geo\+jsonxml|x\-web\-app\-manifest\+json))|(text/(xml|cache\-manifest|html))") {
361 set beresp.http.Expires = "" + (now + 3s); 361 set beresp.http.Expires = "" + (now + 3s);
362 } 362 }
Line 363... Line 363...
363   363