-
Notifications
You must be signed in to change notification settings - Fork 920
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug report] Head resources are loaded again when switching pages #1268
Comments
Refresh Page will also cause these resources to relead. |
Why isn't that expected? |
Should normally be handled by the browser cache. You shouldn't see reloads in production mode. Browser dev mode has cache disabled frequently |
So why do you think current behaviour "bypass" browser cache? |
Only when using browser dev mode. I am fine with current behavior, was just commenting.. |
Co-authored-by: meteorlxy <[email protected]>
Description
When users set js and css resources through head option in config file, switching pages will cause these resources to relead.
I think this should be bug as we should diff the head list and try to avoid upgrading the unchanged one
Reproduction
https://dromara.org/fast-request/
Used Package Manager
npm
System Info
The text was updated successfully, but these errors were encountered: