[Taginfo-dev] [taginfo/taginfo] 161751: Add a cache for project files

Jochen Topf noreply at github.com
Mon Oct 23 19:09:00 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/taginfo/taginfo
  Commit: 16175143401ce59c988243a08351fc94c7fb403e
      https://github.com/taginfo/taginfo/commit/16175143401ce59c988243a08351fc94c7fb403e
  Author: Jochen Topf <jochen at topf.org>
  Date:   2023-10-23 (Mon, 23 Oct 2023)

  Changed paths:
    A sources/projects/cache.sql
    A sources/projects/get-from-cache.sql
    R sources/projects/import.rb
    M sources/projects/update.sh
    A sources/projects/update_cache.rb

  Log Message:
  -----------
  Add a cache for project files

This allows us to go back to the last good version of that project file
if it is not accessible currently.

The cache stores the last known good version (with response code 200)
and some newer versions of that page if the access failed for some
reason.





More information about the Taginfo-dev mailing list