[MS4W-Users] Apache response header caching for MapCache requests?
MarkVolz at co.lyon.mn.us
Wed Oct 16 16:58:20 EDT 2019
I would like to set a response header in apache so that clients will keep a cache of any mapcache request for several days (if not longer). I noticed currently the cache is only working for two days as set by the default. However, I would like to increase the time for any jpeg files that are returned. One possible issue is that the request not for a .jpg file, but instead it is a mapcache application query.
Apache Configuration File:
ExpiresDefault "access plus 2 days"
ExpiresByType image/jpg "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
Request: https://mymapserver.org/mapcache?FORMAT=image%2Fjpeg &SERVICE=WMS&...
Returned type: jpeg.
Please let me know how I can increase the timeout for any mapcache requests.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the MS4W-Users