[infinispan-issues] [JBoss JIRA] (ISPN-3459) Add support for Cache-Control http header to REST server
Martin Gencur (JIRA)
jira-events at lists.jboss.org
Wed Sep 4 06:53:04 EDT 2013
[ https://issues.jboss.org/browse/ISPN-3459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12801472#comment-12801472 ]
Martin Gencur commented on ISPN-3459:
-------------------------------------
Implementation details:
* Supported request headers:
Cache-Control: min-fresh -> specifies that the entry must not expire in min-fresh seconds since the time of the response (if the entry is going to expire shortly, then REST does not return it, and returns NOT_FOUND)
* Supported response headers:
Cache-Control: max-age=xx -> this is similar to Expires, only the time is relative, in seconds (e.g max-age=10 means the entry will expire in 10 seconds since the time of the response)
Cache-Control: no-transform -> this is added by default to each response that contains also max-age
> Add support for Cache-Control http header to REST server
> --------------------------------------------------------
>
> Key: ISPN-3459
> URL: https://issues.jboss.org/browse/ISPN-3459
> Project: Infinispan
> Issue Type: Feature Request
> Components: Server
> Reporter: Martin Gencur
> Assignee: Martin Gencur
> Fix For: 6.0.0.Beta1, 6.0.0.Final
>
>
> Apart from "Expires", the REST server should return also "Cache-Control" http header for entries that have lifespan defined.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list