Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 waitUntil breaks their caching, cache-control ignored by cf #1196

Open
dejurin opened this issue Mar 5, 2024 · 0 comments
Open

馃悰 waitUntil breaks their caching, cache-control ignored by cf #1196

dejurin opened this issue Mar 5, 2024 · 0 comments
Labels
Priority: Normal Minor issue impacting one or more users Type: Bug Something isn't working

Comments

@dejurin
Copy link

dejurin commented Mar 5, 2024

Describe the bug

Somehow, this causes Cloudflare not to honour Cache-Control headers in Qwik. The answers do not have the cache-hit header.

Please see: QwikDev/qwik#5952 (cache-control ignored by cf)

part of code

// writing to cache
ctx.waitUntil(
    handledResponse.completion.then(() => cache.put(cacheKey, response.clone()))
);
@dejurin dejurin added Priority: Normal Minor issue impacting one or more users Type: Bug Something isn't working labels Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Normal Minor issue impacting one or more users Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant