| 9:35 pm on Sep 6, 2012 (gmt 0)|
|People aren't hitting refresh to reload the style sheets. |
Well, you can't expect them to. It isn't normal user behavior. (See current thread elsewhere about average user's level of know-how ;)) And afaik there is no way to retroactively change cache/expiration information for material that has already been downloaded, since that's the whole point of local caching.
But why are they getting no styles at all? I'd expect them to see new pages with old styles, if anything. Did the site redesign include renaming and/or moving the stylesheet?
| 10:12 pm on Sep 6, 2012 (gmt 0)|
Exactly, not that I expect them to know that, just that's all thats needed to resolve it. I did rename the main style sheet. I know my server doesn't have proper expiration settings yet. Out of 140+ fellow employees, I've only heard from a few with this problem. Maybe this isn't that common? I haven't been able to replicate it.
| 10:22 pm on Sep 6, 2012 (gmt 0)|
just rename the new stylesheet and do the same, in the source of your html....when the page calls it ..voila !:)
| 10:37 pm on Sep 6, 2012 (gmt 0)|
Cool I will try that! My main sheet is named the same as a secondary sheet on the old site... I had called it common.css on the previous site along with several other bulky style sheets. common.css is now my main style sheet. That may have caused some issues. Thanks!
| 3:40 am on Sep 7, 2012 (gmt 0)|
|I had called it common.css on the previous site along with several other bulky style sheets. common.css is now my main style sheet. That may have caused some issues. |
Oh, ouch, yes. Browser sees a request for filename.css, checks its cache, establishes that it hasn't expired yet-- and has no way of knowing that filename.css now applies to a completely different thing. Better to do like leo says and rename everything. Then the browser will be forced to reload.
| 9:28 pm on Sep 7, 2012 (gmt 0)|
That did it! Thanks! Was able to replicate it and verify that it's fixed. I'm adding dates to my file names for future updates