When i set empty_img in mapcache configuration file and when tile is not present in cache, mapcache return an error on request.
Normaly, I think the normal issue is send empty image and HTTP 200 OK ? If this is the normal way core.c must be patched to set code 200 before return tile.
Here is my patch to perform the correct return request for me:
I agree and assume that the same applies to in-image error reporting. Cache headers should be set in those cases to enforce a client not to cache the result (at least for transient errors).
When i set empty_img in mapcache configuration file and when tile is not present in cache, mapcache return an error on request. Normaly, I think the normal issue is send empty image and HTTP 200 OK ? If this is the normal way core.c must be patched to set code 200 before return tile. Here is my patch to perform the correct return request for me: