freeCodeCamp/curriculum/challenges/arabic/06-information-security-and.../information-security-with-h.../disable-client-side-caching...

698 B

id title challengeType videoUrl localeTitle
587d8249367417b2b2512c3e Disable Client-Side Caching with helmet.noCache() 2

Description

undefined

Instructions

undefined

Tests

tests:
  - text: ''
    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