2018-10-12 15:37:13 -04:00
|
|
|
---
|
|
|
|
title: Disable Client-Side Caching with helmet.noCache()
|
|
|
|
---
|
|
|
|
## Disable Client-Side Caching with helmet.noCache()
|
|
|
|
|
2019-02-11 14:25:59 -06:00
|
|
|
### Hint
|
2018-10-12 15:37:13 -04:00
|
|
|
|
2019-02-11 14:25:59 -06:00
|
|
|
- You want your `app` to `use` helmet's `noCache()` method.
|
2018-10-12 15:37:13 -04:00
|
|
|
|
2019-02-11 14:25:59 -06:00
|
|
|
### Solution
|
|
|
|
|
|
|
|
- In the `myApp.js` file, add `app.use(helmet.noCache());` under the ninth instruction.
|
|
|
|
|
|
|
|
**Note:** Be sure to submit the link to the **live demo** of your project.
|