{"id":148,"date":"2006-04-25T17:09:16","date_gmt":"2006-04-25T22:09:16","guid":{"rendered":"http:\/\/crschmidt.net\/blog\/?p=148"},"modified":"2006-04-25T17:09:16","modified_gmt":"2006-04-25T22:09:16","slug":"mapserver-wishlist-items","status":"publish","type":"post","link":"https:\/\/crschmidt.net\/blog\/archives\/148\/mapserver-wishlist-items\/","title":{"rendered":"Mapserver Wishlist Items"},"content":{"rendered":"<p>Caching headers. <a href=\"http:\/\/jira.codehaus.org\/browse\/GEOS-454\">Geoserver<\/a> has an outstanding JIRA item about this, and  <a href=\"http:\/\/sourceforge.net\/mailarchive\/message.php?msg_id=13467125\">a geoserver mailing list post<\/a> describes the problem: <\/p>\n<blockquote><p>Putting squid in front of geoserver can help tremendously, but squid is very reluctant to cache anything without proper caching meta-information in the  appropriate http headers.<\/p><\/blockquote>\n<p>This applies to mapserver as well.<\/p>\n<p>Additionally, when running mapserver behind squid, libcurl sends &#8220;Pragma: no-cache&#8221; headers, so even if a remote mapserver instance supported caching (which it doesn&#8217;t), it wouldn&#8217;t be cached when behind a proxy. I think this is fixable by adding &#8216;Pragma:&#8217; to the header setting code in maphttp.c, but I tried that and couldn&#8217;t get it to work.<\/p>\n<p>The combinations of these would make tiling map apps much more realistic, since it would reduce load when requesting tiles from the map server.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Caching headers. Geoserver has an outstanding JIRA item about this, and a geoserver mailing list post describes the problem: Putting squid in front of geoserver can help tremendously, but squid is very reluctant to cache anything without proper caching meta-information in the appropriate http headers. This applies to mapserver as well. Additionally, when running mapserver [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[44,50],"tags":[],"class_list":["post-148","post","type-post","status-publish","format-standard","hentry","category-locality-and-space","category-mapserver"],"_links":{"self":[{"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/posts\/148","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/comments?post=148"}],"version-history":[{"count":0,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/posts\/148\/revisions"}],"wp:attachment":[{"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/media?parent=148"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/categories?post=148"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/tags?post=148"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}