# Modify CloudFormation‎ to Cache endpoint

**URL:** <https://forum.serverless.com/t/modify-cloudformation-to-cache-endpoint/3303>\
**Category:** Serverless Framework\
**Created:** [December 11, 2017, 7:42pm UTC](https://forum.serverless.com/t/modify-cloudformation-to-cache-endpoint/3303 "2017-12-11T19:42:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rejay](https://avatars.discourse-cdn.com/v4/letter/r/58956e/32.png) [@rejay](https://forum.serverless.com/u/rejay)\
**Post date:** [December 11, 2017, 7:42pm UTC](https://forum.serverless.com/t/modify-cloudformation-to-cache-endpoint/3303/1 "2017-12-11T19:42:29Z")

</div>

How can I cache an endpoint?

I have set the `Cache-Control` header in Lambda, but it seems API Gateway need to be configured via CloudFormation‎?
