-
this question revolves around the fetching of a package using semantic versioning. When I deploy a new version of my package, I have to stop/start the server in order for the new version to be served. I would like to be able to invalidate the cache via API. I can’t find any documentation as to how this might be done, nor is there configuration for controlling how often the server waits before searching NPM for more recent versions of a package. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
the cache control for semver is |
Beta Was this translation helpful? Give feedback.
-
I would suggest that support for a For example, if I make a request for If that seems reasonable, I would create a feature request based on this discussion. |
Beta Was this translation helpful? Give feedback.
make senses to me. besides clear the cache on the server, we also need to purge the cache on CDN provider, for example, cloudflare.