Home
Support Forums

Does Netlify rewrite proxy feature cache requests?

When using Netlify proxy functionality as per this doc Rewrites and proxies | Netlify Docs

We were wondering in any caching takes place to improve performance or reduce round trips?

Radek.

Hi Radek,

We do cache proxied content that has a cache-control header.

Hope this helps!

But on a side note, the cache will be local to a specific CDN node as long as it’s not served by other nodes. Each location has multiple nodes and we don’t know which node will serve which request. So in case the node that’s serving that request doesn’t have it cached, the request will be passed on to the original server. Also, your cache might get dropped from CDN - these are some things to keep in mind.