>
> You have not provided enough information for us to know whether this is
> a problem or testing mistake.
>
> What is this unstated "minimal change" you made that made caching
> suddenly stop working?
The only change i have made is adding NOC ACL and uncommenting the
cache_dir ufs.
What exactly does "visiting the same website over and over again" mean?
> what exact actions did you do?
>
I expected when i visit a website for the time it will miss and after
retrieving it that squid will cache it internally. if i visit the same
website again, squid to read it from the local cache. i was visiting by
adding a new tap using chrome or visiting from another browser like MS edge
or IE.
Please do not do that "allow all".
>
> For one thing it makes your NOC ACL pointless, *everybody* is allowed to
> use your proxy for whatever they want to do.
>
> If you did it to debug a caching problem, be aware that http_access has
> nothing to do with cache.
Thank you amos, I have changed to http_access deny all instead of
http_access allow all
Please ask me anything else i should share with so that you can help me.
thank you.
>
>
- Pressing refresh, Shift+reload, or CTL+refresh in a browser will
> *force* a MISS - yet comes under the description you gave.
> - some tools send headers to forbid cached contents being delivered by
> default. So cannot be used for this kind of test without special options.
>
So what do you recommend i do in order to check if squid is caching or not?
On Sat, Aug 3, 2019 at 3:02 PM
wrote:
> Send squid-users mailing list submissions to
> squid-users@lists.squid-cache.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.squid-cache.org/listinfo/squid-users
> or, via email, send a message with subject or body 'help' to
> squid-users-requ...@lists.squid-cache.org
>
> You can reach the person managing the list at
> squid-users-ow...@lists.squid-cache.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of squid-users digest..."
>
>
> Today's Topics:
>
>1. Re: sending certificate chain from squid reverse proxy
> (Martin Hoffmann)
>2. Squid 3.5.27 not caching at all (Mohamed Ali Ahmed)
>3. Re: Squid 3.5.27 not caching at all (Amos Jeffries)
>
>
> --
>
> Message: 1
> Date: Fri, 2 Aug 2019 13:08:50 -0500 (CDT)
> From: Martin Hoffmann
> To: squid-users@lists.squid-cache.org
> Subject: Re: [squid-users] sending certificate chain from squid
> reverse proxy
> Message-ID: <1564769330895-0.p...@n4.nabble.com>
> Content-Type: text/plain; charset=us-ascii
>
> Any ETA on this?
>
> This would really be a nice feature, since on debian/ubuntu squid comes
> with
> GnuTLS support, while OpenSSL Support means recompiling from source. So for
> me, it seems, intermediate certificates is the last thing missing to be
> able
> to use squid/GnuTLS instead of squid/OpenSSL.
>
>
>
> --
> Sent from:
> http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-Users-f1019091.html
>
>
> --
>
> Message: 2
> Date: Sat, 3 Aug 2019 12:45:14 +0300
> From: Mohamed Ali Ahmed
> To: squid-users@lists.squid-cache.org
> Subject: [squid-users] Squid 3.5.27 not caching at all
> Message-ID:
> y...@mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hello everyone,
> I have set up Squid 3.5.27 on ubuntu 18.04 from the packages. I have made
> the minimal change but when i check the access.log i get tcp_miss 200 most
> of the websites even visiting the same website over and over again.
>
> I have searched online and i did not come across any which solves my
> problem.
>
> this is squid.conf file:
>
> root@squid:/etc/squid# sed 's/#.*//;s/^\s*$//;/^$/d' /etc/squid/squid.conf
> acl NOC src 154.73.26.5
> acl SSL_ports port 443
> acl Safe_ports port 80
> acl Safe_ports port 21
> acl Safe_ports port 443
> acl Safe_ports port 70
> acl Safe_ports port 210
> acl Safe_ports port 1025-65535
> acl Safe_ports port 280
> acl Safe_ports port 488
> acl Safe_ports port 591
> acl Safe_ports port 777
> acl CONNECT method CONNECT
> http_access deny !Safe_ports
> http_access deny CONNECT !SSL_ports
> http_access allow localhost manager
> http_access deny manager
> http_access allow localhost NOC
> http_access allow all
> http_port 3128
> cache_dir ufs /var/spool/squid 100 16 256
> coredump_dir /var/spool/squid
> refresh_pattern -i \.(gif|png|jpg|jpeg|ico)$ 3600 90% 43200