Re: del-dontcache seems not to work
amb-Uxr6IM1mbv2TY6FTCsQk+9Bc4/[email protected] (Andrew M. Bishop)
| Newsgroups | gmane.network.wwwoffle.user |
|---|---|
| Message-ID | <[email protected]> |
Matus UHLAR - fantomas <[email protected]> writes: > I found out that there are many files in my cache that I don't want to > cache. They are configured not to be cached, however they stay in the > cache even if I have del-dontcache set to yes: > > DontCache > { > ... > ~*://*/*.ps > ... > } > > Purge > { > ... > del-dontcache = yes > } > > However, even after I reconfigured wwwoffle and purged the cache (wwwoffle > -config ; wwwoffle -purge), I still see this file in the cache: > > root@work# ls -l ?meHtVRfYlBeq7Xpwh9eM4A > -rw-r--r-- 1 proxy proxy 60817 Apr 30 2004 DmeHtVRfYlBeq7Xpwh9eM4A > -rw-r--r-- 1 proxy proxy 44 Apr 30 2004 UmeHtVRfYlBeq7Xpwh9eM4A > > root@work# cat UmeHtVRfYlBeq7Xpwh9eM4A > http://www.root.cz/photos/latex/doc.proof.ps > > Where's the problem, wrong configuration (did I read the case-sensitivity note > right?) or a bug in purging code? Do you have the use-url option set? If this is set to false then the purging is only performed based on the hostname and not on each URL individually. This means that the del-dontcache check is not performed. If you do have this option enabled then I suggest that you change the DontCache rule from '~*://*/*.ps' to '*://*/*.ps' and purge the cache again to see if that fixes it. This will answer the question about the case-insensitive option working or not (your understanding of the option is correct). -- Andrew. ---------------------------------------------------------------------- Andrew M. Bishop amb-Uxr6IM1mbv2TY6FTCsQk+9Bc4/[email protected] http://www.gedanken.demon.co.uk/ WWWOFFLE users page: http://www.gedanken.demon.co.uk/wwwoffle/version-2.8/user.html