Judge fetched tiles apart from kept ones; share Esri's request slots
Review round 2: with part of a map's tiles on disk, the placeholder check saw several pictures and let a provider's placeholder through, drew it and kept it for 30 days. The tiles fetched now are judged on their own: two or more that are all one picture matching no kept tile are a placeholder, and the map fails whole (nothing drawn or kept, the poster served for five minutes). A real uniform tile, such as open sea, matches one kept before and passes. From its notes: the request slots are per tile host, so the satellite and both grey canvases share Esri's six; a weak If-None-Match matches; the README says a poster is kept once its map or photo came. Claude-Session: https://claude.ai/code/session_01NcbgfJAa38xFpzy69BWrqh
This commit is contained in:
@@ -133,7 +133,7 @@ rate limit and kept in `cache/jolpica/`; a throttled or failed fetch is said in
|
||||
|
||||
Everything the service fetches or renders is kept in `cache/` (the module's cache volume): race schedules from
|
||||
Jolpica in `cache/jolpica/` (a season that is over for good, the running one for six hours), map tiles in
|
||||
`cache/tiles/` (30 days), and every poster and thumbnail in `cache/posters/` once it rendered whole. A poster is
|
||||
`cache/tiles/` (30 days), and every poster and thumbnail in `cache/posters/` once its map or photo came. A poster is
|
||||
sent with an `ETag` and a day's `Cache-Control`; one whose map or photo failed is not kept, and is sent with five
|
||||
minutes', so it is rendered again once its source answers.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user