To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.publishOpen lugnet.publish in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Publishing / 1008
1007  |  1009
Subject: 
Re: Why are SSIs bad?
Newsgroups: 
lugnet.publish
Date: 
Fri, 1 Oct 1999 12:36:42 GMT
Reply-To: 
mattdm@ANTISPAMmattdm.org
Viewed: 
496 times
  
Jacob Sparre Andersen <sparre@sys-323.risoe.dk> wrote:
Would you care to give a lazy web site manager a hint for
doing this with Apache?

Check in your httpd.conf for this:

# CacheNegotiatedDocs: By default, Apache sends Pragma: no-cache with each
# document that was negotiated on the basis of content. This asks proxy
# servers not to cache the document. Uncommenting the following line
# disables this behavior, and proxies will be allowed to cache the
# documents.

#CacheNegotiatedDocs

Which I think should do it. It may also be a good idea, if performance isn't
a gigantic concern, to make Apache check all .html files for SSI instead of
just .shtml (if you're doing SSI on all your pages, that won't make a speed
difference anyway) because it's possible (although stupid if true) that some
browsers/proxies make their caching decisions based on file extension.



--
Matthew Miller                      --->                  mattdm@mattdm.org
Quotes 'R' Us                       --->             http://quotes-r-us.org/



Message has 1 Reply:
  Re: Why are SSIs bad?
 
Matthew: (...) Hmm? This sounds more like it is related to content negotiation, which among other things is used to deliver documents in a language the reader understands. Does it mean that proxy servers don't know about content negotiation? (...) (...) (25 years ago, 1-Oct-99, to lugnet.publish)

Message is in Reply To:
  Re: Why are SSIs bad?
 
[ FUT lugnet.publish ] Matthew: [...] (...) Would you care to give a lazy web site manager a hint for doing this with Apache? Play well, Jacob ---...--- -- E-mail: sparre@cats.nbi.dk -- -- Web...: <URL:(URL) -- ---...--- (25 years ago, 1-Oct-99, to lugnet.off-topic.geek, lugnet.publish)

8 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR