Mod Layout 5.0 and Caching (304 Request)

Markus Bordihn <[email protected]> Thu, 05 Jul 2007 22:20:27 +0200
Newsgroups gmane.comp.apache.mod-layout
Message-ID <[email protected]>
Hi All,
i have something strange Problem with Mod_Layout 5.0 and Apache 2.2 
under Debian, its seems that mod-layout also append the HTML Code when 
there is a 304 Request :/

Example:
...
HTTP/1.0 304 Not Modified
Date: Thu, 05 Jul 2007 20:13:18 GMT
Server: Apache/2.2.0 (Fedora)
Connection: close
Vary: Accept-Encoding,User-Agent


    <div id="container">
      <div id="banner">&nbsp;</div>
      <div id="seite_oben">&nbsp;</div>
      <div id="seiten_body">       <div id="menue">
        <ul class="menueliste">
...

But this should be only:
...
HTTP/1.0 304 Not Modified
Date: Thu, 05 Jul 2007 20:13:18 GMT
Server: Apache/2.2.0 (Fedora)
Connection: close
Vary: Accept-Encoding,User-Agent
...

Its seems that Firefox have Problems with this, you can try this with 
following pages:

With Mod_Layout:
http://animearchive.de/test.htm

Without Mod_Layout:
http://animearchive.de/test.html

When you load the document in Firefox and reload several time one of the 
Images appears or disappear, without mod_layout all works fine.

Thanks for help or solutions to solved this, but i think this need a bugfix.


Greetings,
- Markus