1.3 KiB
1.3 KiB
id | title | challengeType |
---|---|---|
587d8249367417b2b2512c3e | Disable Client-Side Caching with helmet.noCache() | 2 |
Description
Instructions
Tests
tests:
- text: helmet.noCache() middleware should be mounted correctly
testString: getUserInput => $.get(getUserInput('url') + '/_api/app-info').then(data => { assert.include(data.appStack, 'nocache'); assert.equal(data.headers['cache-control'], 'no-store, no-cache, must-revalidate, proxy-revalidate'); }, xhr => { throw new Error(xhr.responseText); })
Challenge Seed
Solution
// solution required