HTTP Headers for caching (PHP) dynamic pages

This is a discussion on HTTP Headers for caching (PHP) dynamic pages within the Squid Users forums, part of the Web Server and Related Forums category; Hi, I use Squid 2.6 as reverse proxy for several production websites but I experiment problems with Internet Explorer ...


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 01-15-2007
Thomas
 
Posts: n/a
Default HTTP Headers for caching (PHP) dynamic pages

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

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB 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 08:41 AM.


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