HTTP Headers for caching (PHP) dynamic pages
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Squid > HTTP Headers for caching (PHP) dynamic pages




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    HTTP Headers for caching (PHP) dynamic pages  
Thomas


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-15-07 06: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






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:42 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register