Yoryos

Show:

What's happening?

  • Followup: RE: Vary headers should be applied to all res

    Sorry for the late answer. To tell you the truth I don't remember when the comparison takes place. Should look at tomcat's source...

    2009-05-15 12:24:10 UTC in PJL Compressing Filter

  • Followup: RE: Vary headers should be applied to all res

    As far as I know tomcat calculates the etag of a response before comparing it with the reqeust's etag. That means that it doesn't remember anything you may apply.

    2009-05-04 14:10:08 UTC in PJL Compressing Filter

  • Followup: RE: 1.7-rc1 released

    Any response with Cache-Control private should not be cached by the browser or any other caching mechanism. So the 200 http status is the right one!

    2009-05-01 11:11:40 UTC in PJL Compressing Filter

  • Followup: RE: Vary headers should be applied to all respons

    If you make sure that you check the modified value of the etag before let tomcat do it's job I think that you are ok. For example: The client request something and get a response from tomcat with an etag "foo-bar-gziped" assumming that the -gziped has been added by the filter to the tomcat's actual tag witch is "foo-bar". No when the client ask for the same object with...

    2009-05-01 11:06:08 UTC in PJL Compressing Filter

  • Followup: RE: Vary headers should be applied to all respons

    I've worked with tomcat so I can tell you some things about it. Tomcat applies what is called Weak Etag. It's been a while since I last worked on etags so I suggest you have a look at http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html#sec13.3.3 to check the differencies. Tomcat's etag are based on the date and the size of the static file it serves. That means when you move the file to...

    2009-04-27 18:04:55 UTC in PJL Compressing Filter

  • Followup: RE: Vary headers should be applied to all res

    Actually Etag comes into play. To be sure that everything is ok, a compressed objects should have a different Etag than the same uncompressed one. The best of all would be to have a different etag for each type of compression. Now as far as I know tomcat adds an etag. That means that you could let it do its job and in case you have compressed the request add something to the allready applied...

    2009-04-27 07:48:50 UTC in PJL Compressing Filter

  • Vary headers should be applied to all respons

    As we can read here: http://wiki.squid-cache.org/KnowledgeBase/VaryNotCaching in order the responses to be cached correctly by squid (and probably other caching mechanisms) the filter should apply the Vary headers to the responses even if they will not be compressed (eg the Browser does not support it). Then we also have to be sure that both a compressed and a uncompressed response has an...

    2008-09-01 08:57:45 UTC in PJL Compressing Filter

About Me

  • 2008-09-01 (1 year ago)
  • 2200545
  • valotas (My Site)
  • Yoryos

Send me a message