Re: Re: SSI + content-length headers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Rajwinder-office Singh wrote:
    I have a situation :

    1. I have to keep SSI enabled on all *.html pages.
    2. SSI removes content-length + Last-modified headers from *.html
    3. I have to keep these two headers for it to be cached by my CDN
    provider.

Content-length shouldn't affect cacheability.  If you're sure it does,
you might consider a bug report to whoever is responsible.

    4. No fun of using XbiHack cause every other html is having ssi.

What's wrong with xbithack?  Just scope it where you want it.

    Does it make sense to calculate these two headers and then insert
    both headers in some kind of output filter ?

Yes, you'd need to compute content-length in an output filter.
And it would need to buffer your output, which makes for a huge
performance hit if you're serving big documents.

--
Nick Kew

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux