Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #2648
| From | j <mung_me@att.net> |
|---|---|
| Newsgroups | comp.lang.php, al.html |
| Subject | Avoiding Proxy Caching |
| Date | 2011-07-26 11:35 -0400 |
| Organization | albasani.net |
| Message-ID | <j0mmsc$gp8$1@news.albasani.net> (permalink) |
Cross-posted to 2 groups.
I'm having trouble with a proxy server caching pages. Is there a header or something that I can send to alleviate this problem? What I have is an htaccess rewrite rule RewriteRule ^(.*/protected_directory/.*) /pass_check_script.php?path=/$1 that sends all requests for a directory to a php script that does some password checking and then reads the file and prints a Content-type and then prints the file contents. A proxy server has cached the results and avoids the pass check. I was thinking of sending something in the header, or perhaps just amending some random string to the html. I know proxy servers ignore html type no-cache settings. Jeff
Back to comp.lang.php | Previous | Next — Next in thread | Find similar | Unroll thread
Avoiding Proxy Caching j <mung_me@att.net> - 2011-07-26 11:35 -0400
Re: Avoiding Proxy Caching Michael Fesser <netizen@gmx.de> - 2011-07-26 19:58 +0200
Re: Avoiding Proxy Caching j <mung_me@att.net> - 2011-07-26 15:02 -0400
Re: Avoiding Proxy Caching "Álvaro G. Vicario" <alvaro.NOSPAMTHANX@demogracia.com.invalid> - 2011-07-27 08:40 +0200
Re: Avoiding Proxy Caching Michael Fesser <netizen@gmx.de> - 2011-07-28 15:19 +0200
csiph-web