Switch to full style
Use this forum to post questions relating to WinGate, feature requests, technical or configuration problems
Post a reply

Cache rule for file type

Jul 19 04 9:17 pm

Hi,
i've a wingate 5.2.3 installed and i have activate the cache and now i've a problem.

This is the event sequence:

1) The user start a download of file;
2) The download is interrupted for an error first of the end of file;
3) The user try again and the download tell everything is ok but the file downloaded is the part downloaded and cached in wingate at step 1

The questions are:
1) Can i force an update of this file ?
2) If i don't want to cache file greater then 500KB what's the rule i must use ?
3) If i dont' want to cache file type like .zip .rar and other can i insert the rules Under 'What to Cache' -
Filter1 - the criterion "Not Session description contains .zip".
Filter2 - the criterion "Not Session description contains .rar".
etc.....

Thanks

Re: Cache rule for file type

Jul 22 04 11:02 am

apolizzano wrote:Hi,
Filter1 - the criterion "Not Session description contains .zip".
Filter2 - the criterion "Not Session description contains .rar".
etc.....

Thanks


set three filters
1st if sesion resource ends with rar
2nd filter smae but ends with zip
last filter file size less than whatever
*note don't make them in one filter because it won't work

Jul 22 04 6:41 pm

Thanks ingeltra, i try

Jul 22 04 8:00 pm

I have inserted one filter with many criterion as are the file type i don't want to cache:

the filter are:

Not HTTP URL ends with ".Zip"
Not HTTP URL ends with ".exe"
Not HTTP URL ends with ".rar"
Not HTTP URL ends with ".tgz"

i've tested and this is ok.

Jul 24 04 8:24 am

apolizzano wrote:I have inserted one filter with many criterion as are the file type i don't want to cache:

the filter are:

Not HTTP URL ends with ".Zip"
Not HTTP URL ends with ".exe"
Not HTTP URL ends with ".rar"
Not HTTP URL ends with ".tgz"

i've tested and this is ok.


well thats just another way of looking at it, its like using a nand gate instead of or (if your into logic design)
Post a reply