Closed Bug 421716 Opened 17 years ago Closed 17 years ago

CalDAV provider should support getctag

Categories

(Calendar :: Provider: CalDAV, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: browning, Assigned: browning)

References

()

Details

Attachments

(1 file, 1 obsolete file)

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.
Status: NEW → ASSIGNED
Assignee: nobody → browning
Status: ASSIGNED → NEW
Attached patch add getctag (obsolete) — Splinter Review
tested against Apple (supports getctag) and DAViCal (no getctag support yet).
Attachment #331734 - Flags: review?(philipp)
Status: NEW → ASSIGNED
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
Attached patch add getctag - v2Splinter Review
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)
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.

Attachment

General

Creator:
Created:
Updated:
Size: