Cache real weather snapshots server side
This commit is contained in:
@@ -174,6 +174,14 @@ precipitation probability, and wind speed as fallback inputs. The NWS path is
|
||||
only used for eligible US/NWS-covered tiles; Open-Meteo remains the global
|
||||
source for all tiles.
|
||||
|
||||
Real-weather snapshots are cached server-side in
|
||||
`UAgrarianWeatherProviderSubsystem::ServerWeatherSnapshotCache`. Cache keys use
|
||||
provider plus tile ID, and the default TTL is 15 minutes. Server requests first
|
||||
try to apply a fresh cached snapshot to `AAgrarianGameState`; only cache misses
|
||||
call Open-Meteo or NOAA/NWS. Clients never call Open-Meteo or NOAA/NWS directly.
|
||||
They receive weather, temperature, source, and state through replicated game
|
||||
state fields.
|
||||
|
||||
## Terrain And Tile Delivery
|
||||
|
||||
### MVP Tile
|
||||
|
||||
Reference in New Issue
Block a user