# Settings for Disabling Cache

**URL:** https://forum.serverless.com/t/settings-for-disabling-cache/3606
**Category:** Serverless Framework
**Created:** [January 26, 2018, 1:52am UTC](https://forum.serverless.com/t/settings-for-disabling-cache/3606 "2018-01-26T01:52:32Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![dundas](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/dundas/32/2286_2.png) [@dundas](https://forum.serverless.com/u/dundas)
#### Post date: [January 26, 2018, 1:52am UTC](https://forum.serverless.com/t/settings-for-disabling-cache/3606/1 "2018-01-26T01:52:32Z")

</div>

Hi,

I’m wondering how to fully disable cache on my endpoint?

I have the headers set in yaml as follows:

```
response:
            headers:
              Cache-Control: "'max-age=0'"

```

I also have this set:

```
ApiGatewayStage:
  Type: "AWS::ApiGateway::Stage"
  Properties:
    MethodSettings:
      - ResourcePath: "/*"
        HttpMethod: "*"
        CachingEnabled: false

```

I’m really at a loss for how to completely disable caching. Thanks for any pointers!
