-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
Which component is affected?
Integration
Describe the bug
Hey there! I'm working a project that recently updated to Qwik v1.14, which includes new preloader behaviour. I see this project also updated to support the preloader here, but there appears to be an issue where requests to the /build
folder do not receive appropriate cache headers on the response (see here).
Reproduction
https://github.com/seleb/qwik-astro-build-cache
Steps to reproduce
npm i
npm run preview
- Open
http://localhost:4321/
- Open network devtools
- Click on the "count is 0" button
- Inspect any of the
/build/q-[hash].js
requests: All of them will haveCache-Control: no-cache
System Info
System:
OS: Windows 10 10.0.19045
CPU: (16) x64 11th Gen Intel(R) Core(TM) i9-11980HK @ 2.60GHz
Memory: 40.16 GB / 63.71 GB
Binaries:
Node: 20.12.2 - C:\Program Files\nodejs\node.EXE
npm: 10.9.0 - C:\Program Files\nodejs\npm.CMD
Browsers:
Edge: Chromium (127.0.2651.74)
Internet Explorer: 11.0.19041.5794
Additional Information
Note that I've provided a repo link above, but it's just a starter project with no additional code changes.
Metadata
Metadata
Assignees
Labels
No labels