Reputation: 2063
I need to set some aspx dynamic pages to be cacheable by CloudFront. I tried setting Cache-Control to public in the response header and it worked, but other layers are also caching my pages, such as my network proxy server (squid). Is there any way to restrict the cacheability of my dynamic pages only to Amazon CloudFront?
Upvotes: 0
Views: 85
Reputation: 3751
You could create a cache behavior for .asxp or a more specific path, content/.aspx and configure the minttl to be whatever value you wish. Then you could set s-maxage for other proxies to respect.
Upvotes: 1