diff options
author | Eric Wong <e@80x24.org> | 2016-01-15 22:04:30 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-04-05 18:58:27 +0000 |
commit | be3e0f48796ddb342d4eeb4838c5eedb9aaf79b9 (patch) | |
tree | f452e544fafa4b4181540daae4636d5a853cc760 /lib/PublicInbox/Git.pm | |
parent | b01b50858cac10ff8cd9722fd5be9bcaf314b83c (diff) | |
download | public-inbox-be3e0f48796ddb342d4eeb4838c5eedb9aaf79b9.tar.gz |
For human-visible HTML pages, avoid the trailing slash as that can reduce cache hits in both the server (using varnish) and clients. Typical web browsers are all capable of following 301 redirects without difficulty or human interaction. We do not redirect for endpoints which may be consumed by automated tools as that may cause compatibility problems. For example, curl(1) does not automatically follow redirects and needs the "-L" flag to do so.
Diffstat (limited to 'lib/PublicInbox/Git.pm')
0 files changed, 0 insertions, 0 deletions