On Wed, 2006-04-12 at 22:17 +0200, Henrik Nordstrom wrote: > ons 2006-04-12 klockan 18:34 +0530 skrev Ramprasad: > > > Caching is very important so that the retrieval time is reduced. > > But the problem is most of the pages linked by the spammers have a > > "pragma nocache", so squid tries to fetch the dumb page every time. How > > do I prevent that. Can I configure squid to always cache pages, and > > serve pages from cache only. > > Some things can be overridden by refresh_pattern, but I am afraid you > may need to modify the source to do what you want. > Can u give me a clue which src file to change. From what I assume this will be a very trivial change. Because I need to tell squid to just ignore the pragma nocache header and goahead and cache the page. Thanks Ram