Em 30/09/15 16:35, Magic Link escreveu:
Hi,

i configure squid to use cache. It seems to work because when i did a try with a software's download, the second download is TCP_HIT in the access.log. The question i have is : why the majority of requests can't be cached (i have a lot of tcp_miss/200) ? i found that dynamic content is not cached but i don't understand.very well.


That's the way internet works ... most of the traffic is dinamically generated, which in default squid configurations avoid the content to be cached. Nowadays, with the 'everything https' taking place, HTTPS is also non-cacheable (in default configurations).

And by default configurations, you must understand that they are the 'SECURE' configuration. Tweaking with refresh_pattern is usually not recommended except in some specific cases in which you're completly clear that you're violating the HTTP protocol and can have problems with that.

In short, the days of 20-30% byte-hits are gone and will never came back anymore.

Keep your default (and secure) squid configuration, there's no need to tweak refresh_pattern unless on very specific situations that you clearly understand what you're doing.



--


        Atenciosamente / Sincerily,
        Leonardo Rodrigues
        Solutti Tecnologia
        http://www.solutti.com.br

        Minha armadilha de SPAM, NÃO mandem email
        [email protected]
        My SPAMTRAP, do not email it


_______________________________________________
squid-users mailing list
[email protected]
http://lists.squid-cache.org/listinfo/squid-users

Reply via email to