This PR updates the Cache-Control directive returned by the worker when fetching badges.
My suspicion is that the immutable part of the cache response caused Vercel Edge cache to never revalidate the response and cache indefinitely, ignoring the max-age directive. Removing immutable in favor of must-revalidate might help.
This might help with #26, but I'm not fully convinced yet.
This PR updates the
Cache-Control
directive returned by the worker when fetching badges.My suspicion is that the
immutable
part of the cache response caused Vercel Edge cache to never revalidate the response and cache indefinitely, ignoring themax-age
directive. Removingimmutable
in favor ofmust-revalidate
might help.This might help with #26, but I'm not fully convinced yet.