Ask a Question related to Macromedia Contribute General Discussion, Design and Development.
-
JasonWoodward #1
CSS local cache stale with WebDAV connection
We've been successfully using Contribute 4 (Windows) against an Apache 2 WebDAV
server for several months now. Roughly 20 contributors have been updating
roughly 500 pages with little trouble (stale DAV locks here and there being the
worst) until now.
We've found that once you edit a page and the associated external style sheets
are downloaded into Contribute's local cache ("sites") the stylesheets are
always retrieved from cache (for edit mode) and never re-requested from the
server (even if they have been updated).
So, for instance, given the following XHTML snippet:
<link rel="stylesheet" type="text/css" href="/styles/screen-new.css" />
<link rel="stylesheet" type="text/css" href="/styles/contribute.css" />
... going into edit mode will cause both style sheets to be downloaded from
the server. But, subsequent changes to either of these style sheets (via
non-DW, non-Contribute editing on the server itself, in case that matters) will
not be reflected in edit mode UNTIL the local cache (the "site" directory) is
deleted by the end user. Browse mode is unaffected.
One thing I noticed when troubleshooting with wireshark (f.k.a. ethereal) was
that the GET requests for the style sheets (in edit mode) contained very few
headers. Conspicuously missing are the Accept and User-agent headers present
on most other requests issued by Contribute.
Has anyone else seen something similar? Any tips on what else to look at
before I escalate this to paid support?
JasonWoodward Guest
-
WEBDAV connection lost
I administer a website using WEBDAV. My PC died and I had to load Contribute on another PC. I cannot get it to connect to the website again so I... -
WEBDAV Connection Problem
:confused; I have set up a webdav connection to a site on a windows 2003 server and can connect to it using Internet Explorer and upload and... -
WebDAV connection and WebCT
Greetings, I have a fairly specific set of circumstances concerning a WebDAV connection to our LCMS (WebCT CE 4.1) running on Linux and Apache. ... -
Wrong WebDav Connection
I've run into a strange connection problem, connecting Contribute to a course in WebCT by WebDav. After entering the connection information into... -
WebDAV Connection Issue
I'm trying to diagnose a Contribute 3 problem for a user who's inside a school network. They won't allow her to use FTP, so I enabled WebDAV on my... -
JasonWoodward #2
Re: CSS local cache stale with WebDAV connection
We discovered what the problem was, so here it is for posterity.
Say you have A.html which references X.css which includes Y.css. If Y.css is
updated (the last modified date changes) without X.css changing (lastmodified
WebDAV PROPFIND request unchanged from cached version) then Contribute doesn't
bother with Y.css.
Updating the last modified date on X.css (when Y.css is changed) causes
Contribute to update the local copy.
JasonWoodward Guest



Reply With Quote

