43:d9569e15bcc3
Anton Shestakov <av6@dwimlabs.net>, Mon, 28 Sep 2015 00:03:36 +0800
viewer: compute a weak entity tag from db and repo mtime This saves running a subprocess with hg -Tjson and rendering pages when there weren't any updates to the testhg repo or to the database. Maybe ETag is not the perfect place for this (Last-Modified?), but it works.

/

templates/ drwxr-xr-x files
.hgignore 32 -rw-r--r-- file | revisions | annotate
README.rst 235 -rw-r--r-- file | revisions | annotate
bench.py 9147 -rwxr-xr-x file | revisions | annotate
deploy.sh 294 -rwxr-xr-x file | revisions | annotate
requirements.txt 15 -rw-r--r-- file | revisions | annotate
settings.py 347 -rw-r--r-- file | revisions | annotate
update.sh 238 -rwxr-xr-x file | revisions | annotate
viewer.py 9183 -rwxr-xr-x file | revisions | annotate