1. Pragma "no-cache" and Cache-Control "no-cache"
Hi people. Maybe someone of you can help me !!!
I'm Gabriele from Italy.
We have just installed an Apache server 1.3.1 on a Linux 2.0.33
server. Our web site contains pages that are daily updated and so we
want the user not to cache them anyway. So far, the only way to escape
this problem has been to let these pages pass through a cgi-bin
script. By this way, pages don't get cached.
Before that we tried with META tags inside the document as Expires,
but it seemed not to work correctly. Now we set the server to put
Headers in specified Directories (the ones that contains pages we want
not to be cached) - we compiled apache with mod_headers. And so we put
this on access.conf:
<Directory /usr1/www_tmp/htdocs/tlm/mostre>
AllowOverride All
# Cache-Control - HTTP/1.1 Header (Explorer)
# Pragma - HTTP/1.0 Header (Netscape)
Header set Cache-Control "no-cache"
Header set Pragma "no-cache"
#ExpiresActive On
#ExpiresByType text/html "now"
Options FollowSymLinks
</Directory>
I tried this: that if we put Pragma header before Cache-Control,
Explorer (that use HTTP/1.1) ignore the last one. And Explorer does
the same if we insert any Expires header as the ones mentioned above
(we must comment them). Why? Netscape, instead, goes well.
Do you have any suggestions? Is it correct for you, or not? Should I
use other headers or anything else?
And, how can I do not to permit proxies to cache these daily updated
pages?
Thank you everybody who'll pay attention to my message.
Ciao
Gabriele
3. 486 caches. beware, DTK does not cache properly
4. NCR SCSI PCI not recognized
5. Caching nameserver does not cache!
7. caching-only name server not caching.
8. NIS+ admintool has problems with admin.groups_dir
9. caching dns appears to not cache.
10. How Inode cache and Directory Cache are maintained By VFS of Linux Kernel
12. Caching vs non-caching SCSI (was 386/ESDI vs Pentium/SCSI)
13. Caching and extra drives (was: IDE CACHE BOARD with Linux??)