I found that tutorial on web: http://www.mnot.net/cache_docs/
I saw inside that I have to use in HTTP header Cache-Control: public, no-cache to be able to authenticate AND cache my protected pages. However, I wrote a (Servlet) Filter that each response to my PDF files returns with that Header, but Squid doesn't save that files on disk. After I removed my HTTP Basic authentication mode, I saw that PDF files are saved to my local disk. Has anybody a hint on this *tricky* topic for me? Thanks again. -Matthias > -----Urspr�ngliche Nachricht----- > Von: Matthias Wessendorf [mailto:[EMAIL PROTECTED] > Gesendet: Montag, 2. Mai 2005 15:18 > An: [email protected] > Betreff: [squid-users] Password procted pages and cache > > > Hi, > > I am playing with Squid to enalbe it to cache password > protected pages. > > Is this posible? > > I saw in store.log the file_nr "FFFFFFFF" for all my password > protected pages. > > The web server returns "304" but I want Squid to *save* some > documents instead of > Apache2 *internal* cache. > > So how can I enable that password protected pages are cached? > > Thanks for any advice. > > Matthias >
