{"action":"closed","issue":{"url":"https://api.github.com/repos/projeto-siga/siga/issues/521","labels_url":"https://api.github.com/repos/projeto-siga/siga/issues/521/labels{/name}","comments_url":"https://api.github.com/repos/projeto-siga/siga/issues/521/comments","events_url":"https://api.github.com/repos/projeto-siga/siga/issues/521/events","html_url":"https://github.com/projeto-siga/siga/issues/521","id":122097277,"number":521,"title":"Problema no Cache-Control","user":{"login":"crivano","id":4137623,"avatar_url":"https://avatars.githubusercontent.com/u/4137623?v=3","gravatar_id":"","url":"https://api.github.com/users/crivano","html_url":"https://github.com/crivano","followers_url":"https://api.github.com/users/crivano/followers","following_url":"https://api.github.com/users/crivano/following{/other_user}","gists_url":"https://api.github.com/users/crivano/gists{/gist_id}","starred_url":"https://api.github.com/users/crivano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crivano/subscriptions","organizations_url":"https://api.github.com/users/crivano/orgs","repos_url":"https://api.github.com/users/crivano/repos","events_url":"https://api.github.com/users/crivano/events{/privacy}","received_events_url":"https://api.github.com/users/crivano/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/projeto-siga/siga/labels/canario","name":"canario","color":"eb6420"}],"state":"closed","locked":false,"assignee":{"login":"crivano","id":4137623,"avatar_url":"https://avatars.githubusercontent.com/u/4137623?v=3","gravatar_id":"","url":"https://api.github.com/users/crivano","html_url":"https://github.com/crivano","followers_url":"https://api.github.com/users/crivano/followers","following_url":"https://api.github.com/users/crivano/following{/other_user}","gists_url":"https://api.github.com/users/crivano/gists{/gist_id}","starred_url":"https://api.github.com/users/crivano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crivano/subscriptions","organizations_url":"https://api.github.com/users/crivano/orgs","repos_url":"https://api.github.com/users/crivano/repos","events_url":"https://api.github.com/users/crivano/events{/privacy}","received_events_url":"https://api.github.com/users/crivano/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-12-14T18:04:09Z","updated_at":"2016-01-11T19:28:26Z","closed_at":"2016-01-11T19:28:26Z","body":"Notei que a versão vraptor está gerando dois header de \"Cache-Control\" e isso faz com que o SIGA não mantenha nenhum recurso http no client-cache. Vejam por exemplo os headers retornados para:\r\n\r\nhttp://serie1cabrio.corp.jfrj.gov.br/siga/imagens/logo.png\r\n\r\n```\r\nHTTP/1.1 304 Not Modified\r\nDate: Mon, 14 Dec 2015 17:58:54 GMT\r\nServer: Apache-Coyote/1.1\r\nConnection: Keep-Alive\r\nKeep-Alive: timeout=15, max=100\r\nETag: W/\"9230-1416927898000\"\r\nExpires: Wed, 31 Dec 1969 21:00:00 BRT\r\nCache-Control: no-cache\r\nCache-Control: max-age=3600\r\n````\r\n\r\nO correto seria ter apenas o max-age=3600, conforme está configurado no web.xml. \r\n\r\n@luiz-antonio e @kmacedovarela , seria isso um problema do VRaptor, do JBoss ou do Apache?"}}