Squid - HTTP Headers for caching (PHP) dynamic pages

This is Interesting: Free IT Magazines  
Home > Archive > Squid > January 2007 > HTTP Headers for caching (PHP) dynamic pages





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author HTTP Headers for caching (PHP) dynamic pages
Thomas

2007-01-15, 1:13 pm

Hi,

I use Squid 2.6 as reverse proxy for several production websites but I
experiment problems with Internet Explorer 6.
It keeps the pages in cache too much time and a reload (with CTRL+F5)
has no effect.
I currently use the php session_cache_limiter() function, with the
'public' argument.
Does anyone know a good combination of HTTP headers for telling Squid
to cache without causing this problem ?

Thanks.

My squid.conf :
http_port 1.2.3.4:80 defaultsite=www.example.com vhost
cache_peer 2.3.4.5 parent 8080 0 no-query

acl port80 port 80
acl purge method PURGE
acl localhost src 127.0.0.1
http_access allow purge localhost
http_access allow port80
acl all src 0.0.0.0/0.0.0.0
http_access allow all

emulate_httpd_log on
cache_access_log /var/log/squid/access.log

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com