mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +00:00
tiddlywiki: Avoid "412: Precondition failed" error
Apache sends an instruction to the browser to not cache the TiddlyWiki file at all. This forces the browser to fetch the new version after each write avoiding the case "file changed on server". Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net> [sunil: Drop no-cache and must-revalidate directives as they are redundant] Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
e444b74e93
commit
98d4327c49
@ -10,6 +10,11 @@ Alias /tiddlywiki /var/lib/tiddlywiki
|
||||
<IfModule mod_auth_pubtkt.c>
|
||||
TKTAuthToken "admin" "wiki"
|
||||
</IfModule>
|
||||
|
||||
# Disable caching
|
||||
<IfModule mod_headers.c>
|
||||
Header set Cache-Control "no-store"
|
||||
</IfModule>
|
||||
</Location>
|
||||
|
||||
<Directory /var/lib/tiddlywiki>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user