This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

HTTP Proxy caching even when caching is turned off!!!

Sorry for the long post but here it goes....
I am running 7.401. I am always trying to tweak the settings on my astaro at home and was checking the speed difference with http caching turned on vs off. Well, what I discovered was that astaro caches files even when caching is turned off. Wierd thing is that my cache size /var/chroot-http/var/cache is larger when caching is turned off than when it is turned on. I guess the cache expiration mechanism is turned off.

So I repeated the test after clearing the cache. 3 users at home cache size stays around 100mb with caching turned on and after clearing again, 160 mb within 1 day of turning off the cache[:O]

Looking at the logs, first visit to cnn.com...

2009:05:19-21:28:52 gatekeeper httpproxy[8134]: id="0001" severity="info" sys="SecureWeb" sub="http" name="http access" action="pass" method="GET" srcip="192.168.0.10" user="" statuscode="200" cached="0" profile="REF_DefaultHTTPProfile (Default Proxy)" filteraction="REF_DefaultHTTPCFFAction (Default content filter action)" size="1325" time="8538 ms" request="0x426102c0" url="i.cdn.turner.com/.../gif"


Same page after clearing the browser cache

2009:05:19-21:30:23 gatekeeper httpproxy[8134]: id="0001" severity="info" sys="SecureWeb" sub="http" name="http access" action="pass" method="GET" srcip="192.168.0.10" user="" statuscode="200" cached="1" profile="REF_DefaultHTTPProfile (Default Proxy)" filteraction="REF_DefaultHTTPCFFAction (Default content filter action)" size="1325" time="9747 ms" request="0x42605830" url="i.cdn.turner.com/.../gif""


Can someone please shed some light on this. This can be reproduced by using different PCs and going to the same website.


This thread was automatically locked due to age.
  • Interesting.  I wonder if this is just a result of the A-V scanning where turning off caching results in the non-management of the data buffered for the scanning...
     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
  • Tried with the av scanning turned off, still the same result. Since there is no real way of turning off the categorization, I even put turner.com in the exceptions tab to bypass av, categorization and all the other checks and still the same. [:S]
  • Interesting.  If you wind up submitting a ticket to support, I'd be curious what Astaro has to say; I don't want any of my Astaros doing caching.

    Cheers - Bob
     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
  • I also observe this problem on my ASG's.

    For some reason the cache is not empty, even with the cache off.

    After doing a clean cache, the cache dir stays with 17M, after a few surfing goes up.

    Regards