[ 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 9:58 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. was (Author: rgavlin): I was thinking the LastModifiedObjectInFolderContainerList interface might have a boolean ifModifiedSince() method to indicate SC_NOT_MODIFIED 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 not SC_NOT_MODIFIED. 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)