chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ron Gavlin (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CMIS-818) Navigation services should support Last-Modified/If-Modified-Since Headers
Date Wed, 02 Jul 2014 10:02:24 GMT

    [ https://issues.apache.org/jira/browse/CMIS-818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14049793#comment-14049793
] 

Ron Gavlin edited comment on CMIS-818 at 7/2/14 10:01 AM:
----------------------------------------------------------

I was thinking the LastModifiedObjectInFolderContainerList interface might have a boolean
ifModifiedSince() method to indicate the SC_NOT_MODIFIED/OK state and that the service, based
on its own SC_NOT_MODIFIED check, would either: a). return an empty list along with ifModifiedSince()
equals false if SC_NOT_MODIFIED or b). return a populated list with ifModifiedSince() equals
true if OK. This is clearly not as clean as the LastModifiedContentStream handling but seems
doable. So the service would interrogate the request headers and the caller would set the
response header and status code.


was (Author: rgavlin):
I was thinking the LastModifiedObjectInFolderContainerList interface might have a boolean
ifModifiedSince() method to indicate the SC_NOT_MODIFIED/OK state and that the service, based
on its own SC_NOT_MODIFIED check, would either: a). return an empty list along with ifModifiedSince()
equals false if SC_NOT_MODIFIED or b). return a populated list with ifModifiedSince() equals
true if OK. This is clearly not as clean as the LastModifiedContentStream handling but seems
doable.

> Navigation services should support Last-Modified/If-Modified-Since Headers
> --------------------------------------------------------------------------
>
>                 Key: CMIS-818
>                 URL: https://issues.apache.org/jira/browse/CMIS-818
>             Project: Chemistry
>          Issue Type: Improvement
>          Components: opencmis-server
>    Affects Versions: OpenCMIS 0.11.0
>            Reporter: Ron Gavlin
>            Assignee: Florian Müller
>
> AtomPub and Browser navigation services including getChildren, getFolderTree, getDescendants,
and potentially the others should support Last-Modified/If-Modified-Since Headers.
> Some repositories have built-in caching mechanisms to track whether a folder tree has
been modified. Since many of the Navigation services often require significant server-side
resources, repositories with these built-in caching mechanisms should be able to leverage
them with OpenCMIS. Currently, the OpenCMIS NavigationService does not provide hooks to implement
such optimizations.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message