CSS local cache stale with WebDAV connection

Ask a Question related to Macromedia Contribute General Discussion, Design and Development.

  1. #1

    Default 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

  2. Similar Questions and Discussions

    1. 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...
    2. 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...
    3. 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. ...
    4. 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...
    5. 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...
  3. #2

    Default 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

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139