We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b461e5 commit eea901dCopy full SHA for eea901d
tests/stale.mjs
@@ -1,11 +1,11 @@
1
import * as templates from './lib/templates.mjs'
2
3
-function makeStaleCheckCC (cc, shared_only, value) {
4
- const shared = shared_only === true ? "Shared " : ""
+function makeStaleCheckCC (cc, sharedOnly, value) {
+ const shared = sharedOnly === true ? 'Shared ' : ''
5
return {
6
name: `${shared}HTTP cache must not serve stale stored response when prohibited by \`Cache-Control: ${cc}\`.`,
7
id: `stale-close-${cc}${value || ''}`,
8
- browser_skip: shared_only,
+ browser_skip: sharedOnly,
9
depends_on: ['stale-close'],
10
spec_anchors: [`cache-response-directive.${cc}`],
11
requests: [
0 commit comments