Closed simonw closed 4 years ago
Track ETags used for each table in another table.
I run the HEAD requests in fetch_projects at the moment:
fetch_projects
https://github.com/simonw/big-local-datasette/blob/c08cf9c49805c6633b8f62f66b0c443fec7505bb/fetch_projects.py#L59-L66
I should run them in populate_tables instead - that way I can use the etag column to decide if the table should be re-populated.
populate_tables
etag
Track ETags used for each table in another table.