[ 
http://jira.magnolia.info/browse/MAGNOLIA-2280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17259#action_17259
 ] 

gjoseph edited comment on MAGNOLIA-2280 at 7/25/08 7:52 PM:
-------------------------------------------------------------------

Ok, I think we found how this is happening - it would only be the case for 
"docroot" files or other documents served from the filesystem, where the cms 
filter is bypassed and thus Tomcat's DefaultServlet serves the content.

* Request #1 from client A (no {{if-modified-since}} header since it's its 
first request for this document)
 ** Cache filter says "Store".
 ** Css gets served by Tomcat's DefaultServlet.
 ** Css gets cached correctly.

-- here, for some reason, the cache entry expires.

* Request #2 from client A : Has {{if-modified-since}} header. 
 ** Cache filter says "Store".
 ** Tomcat's DefaultServlet sees the {{if-modified-since}} header, sees that 
the file (on the filesystem) has not been modified since then, just serves a 304
 ** 304 gets cached.

* Request #3 from client A : even if no {{if-modified-since}} header, cache 
filter will serve the cached content. If there was no {{if-modified-since}} 
header in the request, it means the browser doesn't have that file in its 
cache, so it can't do much else than display a blank page.

      was (Author: gjoseph):
    Ok, I think we found how this is happening:

* Request #1 from client A (no {{if-modified-since}} header since it's its 
first request for this document)
 ** Cache filter says "Store".
 ** Css gets served by DefaultTomcatServlet.
 ** Css gets cached correctly.

-- here, for some reason, the cache entry expires.

* Request #2 from client A : Has {{if-modified-since}} header. 
 ** Cache filter says "Store".
 ** DefaultTomcatServlet sees the {{if-modified-since}} header, sees that the 
file (on the filesystem) has not been modified since then, just serves a 304
 ** 304 gets cached.

* Request #3 from client A : even if no {{if-modified-since}} header, cache 
filter will serve the cached content. If there was no {{if-modified-since}} 
header in the request, it means the browser doesn't have that file in its 
cache, so it can't do much else than display a blank page.
  
> Investigate intermittent and undetermined reports of corrupted css
> ------------------------------------------------------------------
>
>                 Key: MAGNOLIA-2280
>                 URL: http://jira.magnolia.info/browse/MAGNOLIA-2280
>             Project: Magnolia
>          Issue Type: Bug
>          Components: admininterface, cache
>    Affects Versions: 3.6 RC4
>            Reporter: Jan Haderka
>            Assignee: Philipp Bracher
>             Fix For: 3.6.1
>
>
> As reported in user list, css for admin interface is sometimes not served 
> properly. 
> This issue is to collect the evidence of the problem and to triage the source 
> of it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia.info/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------

Reply via email to