-
-
Notifications
You must be signed in to change notification settings - Fork 240
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
"dont cache" checkbox for folders #492
Labels
enhancement
New feature or request
Comments
W-i-n-7
changed the title
no cache checkbox for folders
"dont cache" checkbox for folders
Feb 19, 2024
i think this can be a plugin too |
was your problem caused by having |
what? |
no |
ok, so what's causing the need actually? |
yeah it can change in my use on the shortened links
this isnt anything that already couldnt be done because of the server code
im just throwing all my ideas at the wall and seeing what sticks 😀
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
i have multiple html enabled folders (web folders) and some i dont want to be cached to user's browsers such as my shortened urls folder
rejetto came up with server code that will disable caching but i thought there should be a check box that appears if index.html is enabled in the admin panel next to it saying "dont cache" or "no caching" that would do the same as this server code:
exports.middleware = ctx => {
if (ctx.path.startsWith('/shrt'))
ctx.set('etag', '')
ctx.set('Cache-Control', 'no-store, no-cache, must-revalidate')
}
The text was updated successfully, but these errors were encountered: