|Title|Better attachment cache handling
|Date|06-Apr-2005 09:08:58 EEST
|JSPWiki version|2.2
|[Idea Category]|GenericIdea

(From [BugStaleAttachments].)

Add a dummy version identifier (like http://foo/attach/Mypage/foo.doc&v=2) to the attachment URL.  This would allow the AttachmentManager to provide a long Expires-header, as the URL for new versions would be different.

This would reduce HTTP traffic, when UAs don't need to fetch the attachment each time.