Re: [squid-users] Squid caching SSI pages?

This is a discussion on Re: [squid-users] Squid caching SSI pages? within the Squid Users forums, part of the Web Server and Related Forums category; On Wed, 31 Mar 2004, Greg Swallow wrote: > Assuming documentation at > http://www.bowiesnyder.com/writings/caching_shtml.htm ...


Go Back   Usenet Forums > Web Server and Related Forums > Squid Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-01-2004
Henrik Nordstrom
 
Posts: n/a
Default Re: [squid-users] Squid caching SSI pages?

On Wed, 31 Mar 2004, Greg Swallow wrote:

> Assuming documentation at
> http://www.bowiesnyder.com/writings/caching_shtml.htm is true, my
> squid-based reverse proxies shouldn't be caching HTML documents that are
> server parsed. However, it appears that the four reverse proxies I have
> sitting in front of my webservers are?


How the page was generated on the server does not matter that much other
than that server generated pages usually does not have caching
information, what matters is the HTTP headers of the response and to some
extent your refresh_pattern settings in squid.conf.

Some good references to understand these concepts better:

Caching Tutorial for Web Authors and Webmasters
<url:http://www.mnot.net/cache_docs/>

Cacheability Engine
<url:http://www.mnot.net/cacheability/>

> Also according to this documentation, I should be able to test whether
> or not Apache is responding to IMS requests by checking for HTTP 304
> result codes in my webserver logs.


304 or not is not a good indicator, other than if you see 304 then it is
almost certain the responses are cachable (but still not guaranteed).

Server generated pages usually never results in 304 as the server can not
easily tell if the sources of the page has been modified or not, but still
can be cached.

Regards
Henrik

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:12 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0