-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[🐞] The behaviour of the cache has changed 1.5.0 (cloudflare) #5947
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
The only commit I can think of that did something is this 1995753 - what seemed like a bugfix in that it waits until the SSR result completed to store the result to cache. Could that explain what you're seeing? I don't understand what you're suppposed to get in your repro. |
Actually you can verify if that's the commit by using the build from the commit before it - https://github.com/BuilderIO/qwik-build/tree/2c7014d476ba9223f1467aabbd8ddd23ff051fbf - see the instructions there. |
Thank you for response.
|
Can you try building with the link I gave you? |
So, I built. Work with a 15-seconds delay. https://ad8f1782.pwa-example-6dn.pages.dev/
Works the same as in version 1.5.0 https://ada7fe68.pwa-example-6dn.pages.dev/
|
Ok so it wasn't that commit then. Could you try building with previous commits after the 1.4.5 commit? You can binary search or just guess which commit might be the culprit based on the contents |
If I understand correctly, that's the 1995753 fix(cloudflare): wait to cache until response complete (#3679) reason |
Ok so you can confirm that the commit I gave you does not have the problem you're seeing in 1.5.0? |
yep, your commit b85761c fix(create-app): tmpdir handling (#5938) is work well. It does not affect the behavior of the cache. |
Wait that doesn't make sense at all, that commit comes after the commit that adds the cloudflare wait. It should fail. |
Rereading this, it looks like the one I gave you is indeed working and you accidentally gave me the commit after the broken commit as the fixed one. I will revert the waitUntil patch |
Which component is affected?
Qwik City (routing)
Describe the bug
After upgrading from 1.4.5 to 1.5.0 version, the cache stopped working as intended on cloudflare pages.
Headers - 1.4.5 with HIT

https://1-4-5.pwa-example-6dn.pages.dev/
Headers - 1.5.0

https://pwa-example-6dn.pages.dev/
An example of code that doesn't work as intended.
Reproduction
https://github.com/dejurin/pwa-example
Steps to reproduce
Deployment log
System Info
Additional Information
No response
The text was updated successfully, but these errors were encountered: