]> git.donarmstrong.com Git - debbugs.git/commit
add etag and caching support to bugreport.cgi
authorDon Armstrong <don@donarmstrong.com>
Wed, 1 Jun 2016 19:06:43 +0000 (12:06 -0700)
committerDon Armstrong <don@donarmstrong.com>
Wed, 1 Jun 2016 19:06:43 +0000 (12:06 -0700)
commit61c42ddd4e22c83885a2d721b5a98d8ae9a82fbd
treea7b7b157b14fae7cd6fa32918856e4ea5109508d
parent2e9c5a7baf46c2fed7baa3616cb451adabf6e0b2
add etag and caching support to bugreport.cgi

 - Calculate etag based on file modification times and all parameters
 - Set etag everywhere
 - Use reasonable cache retention times
   - 5m minimum
   - 10m for head requests and bug logs
   - 7d for bug attachments (which should never change, really)
cgi/bugreport.cgi