ua-snap / mapvue

MIT License
2 stars 1 forks source link

Fix layer refresh & cache issues #211

Closed brucecrevensten closed 4 years ago

brucecrevensten commented 4 years ago

First test is to verify that cache hits are happening.

  1. Go to the Fire map
  2. Activate dev console, go to Network tab, and clear it out so there's nothing showing there.
  3. Toggle the Land Cover layer on.
  4. Examine the network request for one of the WMS requests (lots fire off at the same time, there should be a bunch). Find the response headers.

Expected: response header geowebcache-cache-result: HIT

Second test is to confirm that layers with configurable properties (date, scenario, etc) show the right thing when the layer is toggled on/off.

  1. Go to the Fire Map, click Show Map.
  2. Activate the "Historical lightning strikes" layer, which defaults to May.
  3. Change the month to July.
  4. Toggle the layer off, then back on again.

Expected: the drop-down control shows July, not May.

This change is Reviewable