Closed
Bug 421716
Opened 17 years ago
Closed 17 years ago
CalDAV provider should support getctag
Categories
(Calendar :: Provider: CalDAV, enhancement)
Calendar
Provider: CalDAV
Tracking
(Not tracked)
RESOLVED
FIXED
0.9
People
(Reporter: browning, Assigned: browning)
References
()
Details
Attachments
(1 file, 1 obsolete file)
|
9.48 KB,
patch
|
Fallen
:
review+
|
Details | Diff | Splinter Review |
Apple's getctag extension to CalDAV allows for better performance and lighter network use when we need to refresh() and nothing on the remote calendar has changed. We should detect when the server supports it and use it if so.
| Assignee | ||
Updated•17 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Updated•17 years ago
|
Assignee: nobody → browning
Status: ASSIGNED → NEW
| Assignee | ||
Comment 1•17 years ago
|
||
tested against Apple (supports getctag) and DAViCal (no getctag support yet).
Attachment #331734 -
Flags: review?(philipp)
Updated•17 years ago
|
Status: NEW → ASSIGNED
Comment 2•17 years ago
|
||
Comment on attachment 331734 [details] [diff] [review]
add getctag
What happens if the server doesn't support ctags? Maybe we should save a bit so that we don't check every time when we know the server doesn't support them.
I'd prefer something like CS as the calendarserver.org namespace variable, but its up to you.
r=philipp
r=philipp
Comment 3•17 years ago
|
||
I did find some additional problems, attaching my review comments in form of a new patch.
Attachment #331734 -
Attachment is obsolete: true
Attachment #331833 -
Flags: review+
Attachment #331734 -
Flags: review?(philipp)
Comment 4•17 years ago
|
||
Also one thing I've noticed is that if you add an item and then reload, then items are always fetched. I guess it would be too much to:
1. get ctag before add/modify/delete. If it matches the cached ctag, save it
for step 3.
2. do add/modify/delete
3. If saved ctag in step 1, get the ctag again and cache it locally
Or is there a way the ctag can be retrieved together with adding the item?
Checked in on HEAD and MOZILLA_1_8_BRANCH
-> FIXED
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Target Milestone: --- → 0.9
You need to log in
before you can comment on or make changes to this bug.
Description
•