gobinaries icon indicating copy to clipboard operation
gobinaries copied to clipboard

CDN is caching errors

Open karimsa opened this issue 4 years ago • 1 comments

Prerequisites

  • [X] I searched to see if the issue already exists.

Description

When an install fails, the CDN caches the error. Not sure if this is desirable behaviour, but it might not make sense for errors that are temporary (i.e. timeouts, network issues, etc.).

Steps to Reproduce

  1. Try to install a package that fails.
  2. Retry, the request will hit the cache (cf-cache-status: HIT, expecting a miss here).

Screen Shot 2021-04-02 at 12 01 02 AM

Slack

Join us on Slack https://chat.apex.sh/

karimsa avatar Apr 02 '21 04:04 karimsa

hmm yeah that doesn't sound right, as far as I remember I just have some default settings in CF, so that seems like odd behaviour. I'll try to check it out

tj avatar Apr 06 '21 16:04 tj