{"action":"opened","issue":{"url":"https://api.github.com/repos/GeoWebCache/geowebcache/issues/297","labels_url":"https://api.github.com/repos/GeoWebCache/geowebcache/issues/297/labels{/name}","comments_url":"https://api.github.com/repos/GeoWebCache/geowebcache/issues/297/comments","events_url":"https://api.github.com/repos/GeoWebCache/geowebcache/issues/297/events","html_url":"https://github.com/GeoWebCache/geowebcache/issues/297","id":54578655,"number":297,"title":"setExpirationHeader is not called by ArcGISCacheLayer.java","user":{"login":"xlhomme","id":3986660,"avatar_url":"https://avatars.githubusercontent.com/u/3986660?v=3","gravatar_id":"","url":"https://api.github.com/users/xlhomme","html_url":"https://github.com/xlhomme","followers_url":"https://api.github.com/users/xlhomme/followers","following_url":"https://api.github.com/users/xlhomme/following{/other_user}","gists_url":"https://api.github.com/users/xlhomme/gists{/gist_id}","starred_url":"https://api.github.com/users/xlhomme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xlhomme/subscriptions","organizations_url":"https://api.github.com/users/xlhomme/orgs","repos_url":"https://api.github.com/users/xlhomme/repos","events_url":"https://api.github.com/users/xlhomme/events{/privacy}","received_events_url":"https://api.github.com/users/xlhomme/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-16T14:06:32Z","updated_at":"2015-01-16T14:06:32Z","closed_at":null,"body":" In the getTile function of the ArcGISCacheLayer class. It seems to me that there is no call to the TileLayer.setExpirationHeader.\r\nFor the GeoserverTileLayer.java and  WMSLayer.java we have something like that\r\n getTile ()\r\n    --> getMetatilingReponse()\r\n          -->  finalizeTile()\r\n            --> setExpirationHeader()\r\nbut for the ArcGISCacheLayer threre is no \"setExpirationHeader\" is called.\r\n\r\nIf we put an expirationRule  in the geowebcache.xml\r\n<arcgisLayer>\r\n    <name>map</name>\r\n    <tilingScheme>D:\\Data\\Layers\\\r\nconf.xml</tilingScheme>\r\n   \r\n    <tileCachePath>D:\\Data\\Layers\\_alllayers</tileCachePath>\r\n   \r\n    <expireClientsList>\r\n    <expirationRule minZoom='0' expiration='604800' />\r\n    </expireClientsList>\r\n  </arcgisLayer>\r\n\r\n\r\nWe dont have in the Response Header something like\r\n\r\n    Cache-Control:\r\n    max-age=604800, must-revalidate"}}