You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Carlo Sciolla (JIRA)" <ji...@apache.org> on 2013/06/12 12:46:20 UTC

[jira] [Updated] (CMIS-670) Query parameters kill browser cache

     [ https://issues.apache.org/jira/browse/CMIS-670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carlo Sciolla updated CMIS-670:
-------------------------------

    Description: 
>From the [w2c spec|http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html#sec13.9]:

{quote}
We note one exception to this rule: since some applications have traditionally used GETs and HEADs with query URLs (those containing a "?" in the rel_path part) to perform operations with significant side effects, caches MUST NOT treat responses to such URIs as fresh unless the server provides an explicit expiration time. This specifically means that responses from HTTP/1.0 servers for such URIs SHOULD NOT be taken from a cache. See section 9.1.1 for related information.
{quote}

Currently, the getContentStream call in the REST binding requires URLs to be in the form:

  was:
>From the [w2c spec|http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html#sec13.9]:

{quote}
We note one exception to this rule: since some applications have traditionally used GETs and HEADs with query URLs (those containing a "?" in the rel_path part) to perform operations with significant side effects, caches MUST NOT treat responses to such URIs as fresh unless the server provides an explicit expiration time. This specifically means that responses from HTTP/1.0 servers for such URIs SHOULD NOT be taken from a cache. See section 9.1.1 for related information.
{quote}

    
> Query parameters kill browser cache
> -----------------------------------
>
>                 Key: CMIS-670
>                 URL: https://issues.apache.org/jira/browse/CMIS-670
>             Project: Chemistry
>          Issue Type: Improvement
>          Components: opencmis-server
>    Affects Versions: OpenCMIS 0.9.0
>            Reporter: Carlo Sciolla
>            Priority: Critical
>
> From the [w2c spec|http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html#sec13.9]:
> {quote}
> We note one exception to this rule: since some applications have traditionally used GETs and HEADs with query URLs (those containing a "?" in the rel_path part) to perform operations with significant side effects, caches MUST NOT treat responses to such URIs as fresh unless the server provides an explicit expiration time. This specifically means that responses from HTTP/1.0 servers for such URIs SHOULD NOT be taken from a cache. See section 9.1.1 for related information.
> {quote}
> Currently, the getContentStream call in the REST binding requires URLs to be in the form:

--
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