Open NyakudyaA opened 4 years ago
The endpoint we use in the front end is using original WMS.
I switch it to use GWC endpoint per your suggestions in this PR #75 .
I also added tiled: true
options for WMS filters.
@NyakudyaA I'm not familiar with caching, but for layers that we use with cql_filter
, how do we cache it?
If we are using different flood_event_id
than GWC should return different tiles, but is this configuration possible?
@NyakudyaA I'm not familiar with caching, but for layers that we use with
cql_filter
, how do we cache it? If we are using differentflood_event_id
than GWC should return different tiles, but is this configuration possible?
@lucernae we might have to test that but from my understanding if a request is passed to geoserver it will go through wms for the first time and then gets cached. So if a request is executed the second time it already exist and will come from gwc. If we are using the same bounding box and different filter we need to check if the logic is working properly
Problem
Some tile rendering takes place, we are using WMS to retrieve new data. Can we use gwc for all layers?
Solution
If we add &tiled=true to all our request we will automatically cache all the layers. This seems to also work with wms filters.
We need to test out the following.