Cache rule for file type

Use this forum to post questions relating to WinGate, feature requests, technical or configuration problems

Moderator: Qbik Staff

Cache rule for file type

Postby apolizzano » 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
apolizzano
 
Posts: 7
Joined: Jul 19 04 8:42 pm

Re: Cache rule for file type

Postby ingeltra » 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
ingeltra
 
Posts: 52
Joined: Feb 22 04 5:34 am

Postby apolizzano » Jul 22 04 6:41 pm

Thanks ingeltra, i try
apolizzano
 
Posts: 7
Joined: Jul 19 04 8:42 pm

Postby apolizzano » 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.
apolizzano
 
Posts: 7
Joined: Jul 19 04 8:42 pm

Postby ingeltra » 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)
ingeltra
 
Posts: 52
Joined: Feb 22 04 5:34 am


Return to WinGate

Who is online

Users browsing this forum: Bing [Bot] and 9 guests

cron