Re: [squid-users] Cache not refreshing
* Henrik Nordstrom [EMAIL PROTECTED] [23-03-2004 19:38]: I think these are the relevant lines. They were taken the first time I tried to open the url: 1080047467.580 1 cerberus.elnet.grupomk TCP_HIT/200 942 GET http://www.ministeriokoinonyadelouvor.com.br/ lofofora NONE/- text/html This was fresh in the cache. See refresh_pattern. 1080047467.602 22 cerberus.elnet.grupomk TCP_NEGATIVE_HIT/404 1177 GET http://www.ministeriokoinonyadelouvor.com.br/_site/shop_home.cfm lofofora NONE/- text/html This was known to not exists.. see negative_ttl 1080047469.352 1668 cerberus.elnet.grupomk TCP_MISS/404 3011 GET http://www.ministeriokoinonyadelouvor.com.br/favicon.ico lofofora DIRECT/200.255.218.31 text/html And this was not found.. That's the strange thing. The page was there. Is there any chance squid will cache the 404, and when people try to access, they will get the 404, regardless of the fact there is something there now? I've just got the same experience again. A file on the web server was deleted, but it would still show in the browser. That is, until I forced a browser refresh. Perhaps I should tweak my refresh_pattern settings? The default seems to be causing some trouble. Thanks. -- Bruno Lustosa, aka Lofofora | Email: [EMAIL PROTECTED] Network Administrator/Web Programmer | ICQ: 1406477 Rio de Janeiro - Brazil | pgp0.pgp Description: PGP signature
Re: [squid-users] Cache not refreshing
On Wed, 24 Mar 2004, Bruno Lustosa wrote: * Henrik Nordstrom [EMAIL PROTECTED] [23-03-2004 19:38]: I think these are the relevant lines. They were taken the first time I tried to open the url: 1080047467.580 1 cerberus.elnet.grupomk TCP_HIT/200 942 GET http://www.ministeriokoinonyadelouvor.com.br/ lofofora NONE/- text/html This was fresh in the cache. See refresh_pattern. 1080047467.602 22 cerberus.elnet.grupomk TCP_NEGATIVE_HIT/404 1177 GET http://www.ministeriokoinonyadelouvor.com.br/_site/shop_home.cfm lofofora NONE/- text/html This was known to not exists.. see negative_ttl 1080047469.352 1668 cerberus.elnet.grupomk TCP_MISS/404 3011 GET http://www.ministeriokoinonyadelouvor.com.br/favicon.ico lofofora DIRECT/200.255.218.31 text/html And this was not found.. That's the strange thing. The page was there. Is there any chance squid will cache the 404, and when people try to access, they will get the 404, regardless of the fact there is something there now? see negative_ttl I've just got the same experience again. A file on the web server was deleted, but it would still show in the browser. That is, until I forced a browser refresh. Yes. Perhaps I should tweak my refresh_pattern settings? The default seems to be causing some trouble. There is no optimal cache setting. There is always a tradeoff in how up to date the information is and hit ratio. If you see caching as a big problem then the best action is to not cache (see the no_cache directive). Regards Henrik
[squid-users] Cache not refreshing
Hi. I don't know why, but earlier today, I tried to load a page and it showed a 404. However, the page was there. Some other machines here showed the same 404 page when trying to get to the address. Only when forcing a refresh did the page really refresh and showed its content. Is this a browser issue (using Mozilla Firefox on my machine, and IE on others), or is it squid? Given the fact that I never entered the page before, and it still gave me the 404, I figure it might be squid. What are the relevant options for these kind of problems? Thanks! -- Bruno Lustosa, aka Lofofora | Email: [EMAIL PROTECTED] Network Administrator/Web Programmer | ICQ: 1406477 Rio de Janeiro - Brazil | pgp0.pgp Description: PGP signature
Re: [squid-users] Cache not refreshing
On Tue, 23 Mar 2004, Bruno Lustosa wrote: Hi. I don't know why, but earlier today, I tried to load a page and it showed a 404. However, the page was there. What did access.log show? Regards Henrik
Re: [squid-users] Cache not refreshing
* Henrik Nordstrom [EMAIL PROTECTED] [23-03-2004 15:23]: Hi. I don't know why, but earlier today, I tried to load a page and it showed a 404. However, the page was there. What did access.log show? I think these are the relevant lines. They were taken the first time I tried to open the url: 1080047467.580 1 cerberus.elnet.grupomk TCP_HIT/200 942 GET http://www.ministeriokoinonyadelouvor.com.br/ lofofora NONE/- text/html 1080047467.602 22 cerberus.elnet.grupomk TCP_NEGATIVE_HIT/404 1177 GET http://www.ministeriokoinonyadelouvor.com.br/_site/shop_home.cfm lofofora NONE/- text/html 1080047469.352 1668 cerberus.elnet.grupomk TCP_MISS/404 3011 GET http://www.ministeriokoinonyadelouvor.com.br/favicon.ico lofofora DIRECT/200.255.218.31 text/html These are when I forced the refresh: 1080051181.137903 cerberus.elnet.grupomk TCP_REFRESH_MISS/200 1614 GET http://www.ministeriokoinonyadelouvor.com.br/ lofofora DIRECT/200.255.218.31 text/html 1080051185.945 1259 cerberus.elnet.grupomk TCP_MISS/404 4299 GET http://www.ministeriokoinonyadelouvor.com.br/img/pixel.gif lofofora DIRECT/200.255.218.31 text/html 1080051187.332 2651 cerberus.elnet.grupomk TCP_MISS/200 25838 GET http://www.ministeriokoinonyadelouvor.com.br/home.cfm lofofora DIRECT/200.255.218.31 text/html plus a bunch of other requests for the images of the page. Thank you. PS: No need to copy me on replies, I'm subscribed :) -- Bruno Lustosa, aka Lofofora | Email: [EMAIL PROTECTED] Network Administrator/Web Programmer | ICQ: 1406477 Rio de Janeiro - Brazil | pgp0.pgp Description: PGP signature
Re: [squid-users] Cache not refreshing
On Tue, 23 Mar 2004, Bruno Lustosa wrote: I think these are the relevant lines. They were taken the first time I tried to open the url: 1080047467.580 1 cerberus.elnet.grupomk TCP_HIT/200 942 GET http://www.ministeriokoinonyadelouvor.com.br/ lofofora NONE/- text/html This was fresh in the cache. See refresh_pattern. 1080047467.602 22 cerberus.elnet.grupomk TCP_NEGATIVE_HIT/404 1177 GET http://www.ministeriokoinonyadelouvor.com.br/_site/shop_home.cfm lofofora NONE/- text/html This was known to not exists.. see negative_ttl 1080047469.352 1668 cerberus.elnet.grupomk TCP_MISS/404 3011 GET http://www.ministeriokoinonyadelouvor.com.br/favicon.ico lofofora DIRECT/200.255.218.31 text/html And this was not found.. These are when I forced the refresh: 1080051181.137903 cerberus.elnet.grupomk TCP_REFRESH_MISS/200 1614 GET http://www.ministeriokoinonyadelouvor.com.br/ lofofora DIRECT/200.255.218.31 text/html So the first page had changed, and quite a bit.. 1080051185.945 1259 cerberus.elnet.grupomk TCP_MISS/404 4299 GET http://www.ministeriokoinonyadelouvor.com.br/img/pixel.gif lofofora DIRECT/200.255.218.31 text/html still things not found there.. but different.. 1080051187.332 2651 cerberus.elnet.grupomk TCP_MISS/200 25838 GET http://www.ministeriokoinonyadelouvor.com.br/home.cfm lofofora DIRECT/200.255.218.31 text/html and also different. Regards Henrik