0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-03-27 14:01:49 -05:00
forgejo/modules/httpcache
Brecht Van Lommel 1e0e79dcbf
Fix cache-control header clearing comment text when editing issue ()
The `no-store` cache control added in  is causing form input to be
cleared unnecessarily on page reload. Instead use
`max-age=0,private,must-revalidate` which avoids this.

This was particularly a problem when typing a long comment for an issue
and then for example changing the label. The page would be reloaded and
lose the unsubmitted comment.

Fixes 
2023-02-01 15:28:06 -06:00
..
httpcache.go Fix cache-control header clearing comment text when editing issue () 2023-02-01 15:28:06 -06:00
httpcache_test.go Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00