Is there any way of seeing what files are in the cache of an transparent web proxy? I’d like to monitor what is cached to decide stricter caching rules. Is there a log somewhere maybe?
Thanks
Chris
Transparent proxy does not perform caching.
‘ip proxy connections’ shows the actual connection to the web-proxy.
If you wish to view the web pages that have been visited by users, use logs.
Enable ‘web-proxy’ logs in ‘system logging’ and use logs to get information about web-page addresses.
If it doesn’t cache why do i get Hits?
e.g.:
status: running
uptime: 2d11h10m39s
clients: 1699
requests: 402626
hits: 43956
cache-size: 160KiB
ram-storage-size: 612KiB
received-from-servers: 2750091KiB
sent-to-clients: 2900145KiB
hits-sent-to-clients: 78697KiB
I’d like to see what those hits are.
Thanks
If you mean web-pages, that have been visited by users, look at the post above (second part of the post).
Yes. I tried that bt that get’s me too much. What I’d like is just what’s in the cache (so what can produce Hits) rather than every request going to the web proxy.
Is there a way to just get what’s in the cache and what produces hits?
use ‘system logging set action=memory topic=web-proxy,!debug’. It should decrease information that is provided in logs.
sergejs , no way it doesnt perform caching …
you mean when we check the box of transparant proxy in the web-proxy setting , it wouldnt cach ???
thats impossible , what about the CACH SIZE ? why the cache disk running ?
you totaly confused me …
- I’m sorry for confuse, transparent proxy is able to cache HTTP (other protocols do not work that are supported by regular proxy).
Thanks that explain.
It still would be nice to be able to see a list of what’s in the cache with its status. Currently you need to watch hits coming in t deduct what’s there.
Chris
Rule that I have posted above,
creates the following log,
01:45:11 web-proxy,account 192.168.100.2 GET http://www.mikrotik.com/ action=allow cache=MISS
01:45:14 web-proxy,account 192.168.100.2 GET http://www.mikrotik.com/testdocs/ros/2.9/ action=allow cache=MISS
each page has only one log entry for the requested web-page.
It is possible to send logs to the remote logging server, where you can manage logs and collect information and statistic about visited pages.