You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The cache keys do not appear to be unique. The keys are constructed from req.params.host and req.params.id however the key will be identical for each query.
// Make key for the cached tile layer
const key = Utils.getTileSetKey(req.params.host, req.params.id)
However req.params is like so host is not included is undefined and id will be the same for all requests
req.params { id: 'public.tablename', z: '14', x: '7832', y: '5307' }
, resulting in key 'public.tablename' rather than a key for each table and zxy parameter combination
This results in a single cache item for the first request made which then gets called for all other requests.
The text was updated successfully, but these errors were encountered:
The cache keys do not appear to be unique. The keys are constructed from
req.params.host
andreq.params.id
however the key will be identical for each query.However req.params is like so host is not included is undefined and id will be the same for all requests
req.params { id: 'public.tablename', z: '14', x: '7832', y: '5307' }
, resulting in key 'public.tablename' rather than a key for each table and zxy parameter combination
This results in a single cache item for the first request made which then gets called for all other requests.
The text was updated successfully, but these errors were encountered: