History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: NXP-726
Type: New Feature New Feature
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Dragos Mihalache
Reporter: Thierry Delprat
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Google issue summary
Nuxeo Enterprise Platform

Add a InstanceKey to the documentModel

Created: 05/03/07 04:18   Updated: 23/04/07 12:04
Component/s: None
Affects Version/s: None
Fix Version/s: 5.1 M2

Time Tracking:
Original Estimate: 4 hours
Original Estimate - 4 hours
Remaining Estimate: 4 hours
Remaining Estimate - 4 hours
Time Spent: Not Specified
Remaining Estimate - 4 hours

Resolution Date: 23/04/07 12:04
Participants: Dragos Mihalache and Thierry Delprat
Date of First Response: 07/03/07 17:46
Tags:


 Description  « Hide
The idea is to have an simple cache key for documentModels.
This cacheKey will be helpful at least for managing invalidation of page fragment cached with s:cache.
<s:cache key="#{currentDocument.cacheKey}"> ... </s:cache>

For a basic implementation, this cacheKey could be generated with :
documentId + sessionId + timeStamp

documentId = uuid
sessionId = core session id (isolate security problem at least for now)
timeStamp : time stamp of the last write operation in the core

The timeStamp generation could be added to the dublinCore event listener.


 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Dragos Mihalache - 07/03/07 17:46
what if the section of the page contains other data that could be changed, unlikely, but for example changing the language.