告警svg遵循浏览器缓存机制 #64
Labels
No Label
area/smartpanel
bug
done-waiting-confirmed
kind/feature
page/admin
page/simplepage
page/tab-admin
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: smartoilets-front/projects#64
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
如果 type 为 URL 的 fileInfo 希望可以遵循浏览器缓存机制.
默认情况下浏览器和静态文件服务端会有一个协商缓存的机制,文件变更了才会拉取文件,否则会使用浏览器缓存,当前展示alert svg 的逻辑是否可以依赖该机制? 目前是每次都请求文件的.
优先级在 告警svg图显示异常 之后
访问这个文件是返回了200的, 但看展示alert svg时似乎显示了304.
再确认了一遍,应该是遵循缓存的,只是F12时没有显示,