StationA / tilenol

Scalable, multi-backend geo vector tile server
MIT License
22 stars 6 forks source link

Ensure caching covers tile requests with custom ES queries #29

Closed manossaratsis closed 4 years ago

ccma14 commented 4 years ago

Looking at logs when testing tilenol for PR #31 indicates that this functions as expected.

Here is the code that we use to compute the cache key:

    key := r.URL.RequestURI()

Also logs indicate that the query part of the request is part of the key:

Key [/_all/16/10486/25327.mvt?s=name:name&s=center:centroid] is not cached

So this can likely be closed, because it works as intended.

jerluc commented 4 years ago

Good catch @ccma14 , thanks for double-checking!