diff -r 8ddb5c354906 -r 7ad6a275316f mercurial/hgweb/common.py --- a/mercurial/hgweb/common.py Sat Mar 10 14:06:58 2018 -0800 +++ b/mercurial/hgweb/common.py Sat Mar 10 14:19:27 2018 -0800 @@ -214,12 +214,6 @@ config("ui", "username") or encoding.environ.get("EMAIL") or "") -def caching(web, req): - tag = r'W/"%d"' % web.mtime - if req.env.get('HTTP_IF_NONE_MATCH') == tag: - raise ErrorResponse(HTTP_NOT_MODIFIED) - req.headers.append(('ETag', tag)) - def cspvalues(ui): """Obtain the Content-Security-Policy header and nonce value.