Skip to content
Snippets Groups Projects
  • Rhys Arkins's avatar
    00b89c77
    fix(npm): revalidate all registry requests · 00b89c77
    Rhys Arkins authored
    Sets Cache-Control to ‘no-cache’ to instruct the http layer to always revalidate cached responses with the registry. Otherwise we can be up to 5 minutes “behind” because npmjs default cache time is 300s.
    00b89c77
    History
    fix(npm): revalidate all registry requests
    Rhys Arkins authored
    Sets Cache-Control to ‘no-cache’ to instruct the http layer to always revalidate cached responses with the registry. Otherwise we can be up to 5 minutes “behind” because npmjs default cache time is 300s.