Closed sebdalgarno closed 2 years ago
The request is hitting the cache - this one looks fine. https://features.hillcrestgeo.ca/fwa/functions/postgisftw.fwa_locatealong/items.html?blue_line_key=356308001&downstream_route_measure=10000&nocache=true
I'll clear out the cache!
Cache is clear, hopefully all works fine now.
awesome thanks! all good now. Does that clear the cache for all previous function/collection results? (i.e. not just fwa_locatealong)
Yes, it is a general cache for every request to the web server. I'm not sure how useful it is for featureserv but the cache is really nice when browsing maps created with tileserv.
ok great - clearing it should help troubleshoot a couple other remaining issues on our end. Yes I can definitely see how useful caching can be - especially for large requests that are done a lot. I can always request that you clear it if we are running into issues (i.e. after API changes as just occurred).
Note that I haven't yet upgraded the db. The switchover should be seamless but I'll be sure to give you a heads up and clear the cache when I do make the switch.
Not sure if performance will be noticeably better but for some functions there is potential for good speedups.
OK great thanks. Also sorry I'm just catching up on the previous discussion between you and Joe on setting nocache=TRUE. I've added another issue to modify our tests so that they aren't cached. That will limit the need to request that you clear the cache in future.
The output of the following
is in lon/lat (although EPSG isn't in the json as below)
Whereas with different downstream_route_measure:
is bc albers EPSG 3005
@smnorris any idea what is going on here?