Cloudreve/middleware
a0507a55d0
index.html 缓存问题
index.html 不应该被缓存,每次前端资源打包后相关资源是`/static/js/6.c78c6791.chunk.js` 存在哈希值的,index.html 被缓存后,由于index.html 中的引用路径没有发生变化,导致缓存无法及时更新。理想状态下,当前端资源发生变化的时候,在下一次页面刷新应当可以加载最新的资源。
2023-06-15 18:55:35 +08:00
..
auth.go i18n: logs in bootstrapper and response code in middleware 2022-09-29 17:39:48 +08:00
auth_test.go Test: new changes in middleware pkg 2022-03-23 20:05:10 +08:00
captcha.go i18n: captcha, reset password 2022-04-30 16:51:24 +08:00
captcha_test.go Test: captcha verify middleware 2021-03-22 21:19:43 +08:00
cluster.go i18n: logs in bootstrapper and response code in middleware 2022-09-29 17:39:48 +08:00
cluster_test.go Fix: use X-Cr- as custom header prefix 2021-11-23 21:22:23 +08:00
common.go feat(mobile): only allow request from mobile client to copy session 2022-12-19 17:35:39 +08:00
common_test.go feat(cache): set max-age for public accessible static resources 2022-12-14 15:28:19 +08:00
file.go feat(source link): record downloads for redirected source link 2022-10-29 11:08:16 +08:00
file_test.go test(source link): add unit test 2022-10-30 09:41:14 +08:00
frontend.go index.html 缓存问题 2023-06-15 18:55:35 +08:00
frontend_test.go Test: frontend middleware 2020-12-08 18:15:02 +08:00
mock.go Comply with Golang semantic import versioning (#630) 2020-11-21 17:34:55 +08:00
mock_test.go Comply with Golang semantic import versioning (#630) 2020-11-21 17:34:55 +08:00
session.go feat(kv): persist cache and session into disk before shutdown 2023-04-16 09:17:06 +08:00
session_test.go feat(kv): persist cache and session into disk before shutdown 2023-04-16 09:17:06 +08:00
share.go i18n: logs in bootstrapper and response code in middleware 2022-09-29 17:39:48 +08:00
share_test.go Comply with Golang semantic import versioning (#630) 2020-11-21 17:34:55 +08:00
wopi.go feat(wopi): implement required rest api as a WOPI host 2023-01-09 19:37:46 +08:00
wopi_test.go test(wopi): add tests for wopi client 2023-01-10 19:56:02 +08:00