• Ludovic Courtès's avatar
    browse: Honor "If-Modified-Since" headers. · 2eaeaa99
    Ludovic Courtès authored
    This avoids transferring all of /packages.json every time one reloads
    the page.
    
    * browse/web-interface.scm (request-packages-json-handler): Add
    'request' parameter.  Pass it to 'request-file-handler'.
    (request-file-handler): Add 'request' parameter.   Add a "Last-Modified"
    header on responses, and honor "If-Modified-Since".
    (request-handler): Adjust accordingly.
    2eaeaa99
Name
Last commit
Last update
browse Loading commit data...
image-sources Loading commit data...
posts Loading commit data...
static Loading commit data...
.gitignore Loading commit data...
COPYING Loading commit data...
about.md Loading commit data...
getting-started.md Loading commit data...
guix-hpc.scm Loading commit data...
guix.scm Loading commit data...
haunt.scm Loading commit data...
nginx-locations.conf Loading commit data...
nginx.conf Loading commit data...