Guest User!

You are not Sophos Staff.

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 caching logging

We will soon be installing a Astaro ASG 220 in a school. So I already downloaded an installed the ASG 7 sowftware for home use, to get fammiliar with the interface, and to make shure i can do some basic configurations.

I did enable all the HTTP caching options, but how can i verify that the caching works. In the Content filter (HTTP/S) log there is a field that says "cached". while I'm surfing the field is mostly set to "0", sometimes it is set to "4". so I guess 0 means not cached, 4 means cached?
But there is no line in it, sometimes CSS, JavaScript or images are cached, sometimes they are not cached.

Are there any advanced caching options, for example how does the ASG knows that the cach isn't to old to use? Or do I manually have tot delete the cache every two weeks or so?


This thread was automatically locked due to age.
Parents
  • good question. I'd like to know that too.

    Web content can be divided into two categories: static content and dynamic content. Static content does not change from request to request. The content that gets returned to the web browser is always the same. Examples of static content include HTML files, JPG or GIF files. I assume Astaro has this.

    The other is dynamic content. This is the response that gets generated for dynamic content changes with every request. Examples include ASP.NET or PHP content. 

    I can say astaro works just as well as my simpledns but with very little control over what specfically gets cached and for how long. I always cache .SWF/.pdf files/load into memory(KernelCachePolicy=CacheUntilchanged or Cache for X time) IIS7 because they never change. I am happy so far but caching control is an absolute must have for any public webbox. Overall with Astaro you can't beat them for a uniform taste of everything. 

    I just would wonder about and .aspx pages (a web store) getting cached and returning the same picture over and over until expired. That's why control is needed but I assume only .html and images are cached not the obvious...I assume. I have not tested this on production server just home. I'm going to eventually try this on aspx pages ... 

    M

  • Are there any advanced caching options, for example how does the ASG knows that the cach isn't to old to use? Or do I manually have tot delete the cache every two weeks or so?

    You don't have to worry about clearing the cache manually because its stale. You can add certain people to the cache bypass list just in case. Also, not sure about the number of people that will be using ASG220, but make sure you are not trying to pass 300 users with everything enabled. 

     Examples of static content include HTML files, JPG or GIF files. I assume Astaro has this.

    The caching is not too aggressive and its mostly static like you noted. There is a huge list of exceptions that you can play around with under the http-> exceptions tab and fine tune to your liking.

    You had the ability to fine tune the options when squid was being used as proxy (command line) but now its astaro home grown proxy and what you see is mostly what you get. My impression lately has been that astaro is making caching available for those that want it, but its not something that they promote as a cutting edge feature. Lets face it, there is nothing fascinating about caching and most people leave it disabled(cheaper bandwidth/ fatter pipes). Therefore in the list of new features, the cache fine tuning is pretty low on the list. 

    You can always start a new feature request at Astaro Gateway Feature Requests if thats something you want in the future releases (not sure if it isn't already there).
Reply

  • Are there any advanced caching options, for example how does the ASG knows that the cach isn't to old to use? Or do I manually have tot delete the cache every two weeks or so?

    You don't have to worry about clearing the cache manually because its stale. You can add certain people to the cache bypass list just in case. Also, not sure about the number of people that will be using ASG220, but make sure you are not trying to pass 300 users with everything enabled. 

     Examples of static content include HTML files, JPG or GIF files. I assume Astaro has this.

    The caching is not too aggressive and its mostly static like you noted. There is a huge list of exceptions that you can play around with under the http-> exceptions tab and fine tune to your liking.

    You had the ability to fine tune the options when squid was being used as proxy (command line) but now its astaro home grown proxy and what you see is mostly what you get. My impression lately has been that astaro is making caching available for those that want it, but its not something that they promote as a cutting edge feature. Lets face it, there is nothing fascinating about caching and most people leave it disabled(cheaper bandwidth/ fatter pipes). Therefore in the list of new features, the cache fine tuning is pretty low on the list. 

    You can always start a new feature request at Astaro Gateway Feature Requests if thats something you want in the future releases (not sure if it isn't already there).
Children
No Data