Question

How to create a cache server to caching downloaded files (wi

Hello to all friends.
How can I install cache server for caching downloaded files ?

I try use Squid for it.
but it's not working properly.
Squid can caching downloaded files when download the file without Download Managers.(Like IDM)

When I use a Download Manager , Squid can't cache the downloaded file. ( Max connections number in IDM = 16)

Please help me , How can I cache downloaded file , when download file with IDM and multi connection mode (max connections number = 16 or Cool

Thanks.

Discussion is locked
Follow
Reply to: How to create a cache server to caching downloaded files (wi
PLEASE NOTE: Do not post advertisements, offensive materials, profanity, or personal attacks. Please remember to be considerate of other members. If you are new to the CNET Forums, please read our CNET Forums FAQ. All submitted content is subject to our Terms of Use.
Reporting: How to create a cache server to caching downloaded files (wi
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Comments
- Collapse -
Answer
Re: Squid

If no program does what you want, you need to write your own program. The nice thing with open source programs like squid: you can change it to your needs so you've got a good starting point.

Kees

- Collapse -
Answer
What a brew you have there.

Since it appears that SQUID works when you don't use the IDM, you have solved this one!

Now, that it's solved, why not go use it?
Bob

- Collapse -
thanks

Thanks.
I am forced to use only the IDM (with 16 connection number).

- Collapse -
Re: IDM

I don't know IDM, but doesn't it have a setting somewhere to specify the number of connections to use? Then if you set that to 1, does it work?

Unclear why you are forced to use 16 and to use your own cache.

Kees

- Collapse -
Forced?

Sorry but here at the office no one forces use of IDM. The stock browsers work fine without it.

Maybe there is more to this story but so far it's unconvincing.
Bob

- Collapse -
thanks

Thanks again.

My download speed is 500 KB/s (When I'm downloading files without Internet Download Manager).
If I use the IDM (Or any other Internet Download Manager) and set the connections number to 16 , increase my download speed to 800 KB/s.

I want to downloading files with 800 KB/s speed.

If I set the connections number to 1 , Squid or Polipo cache is working properly , but my download speed decrease to 500 KB/s.
And if I set the connections number to 16 or any number that's greater than 1 , cache not working properly.

My cache server only use with Internet Download Manager and it's not set in the web browsers.

- Collapse -
So you'e to choose:

1. 500 KB/s, cache in your proxy
2. 800 KB/s, no cache in your proxy

Since you generally access the file you downloaded on the PC you downloaded it on, I don't see the need to have a copy at the proxy also. That only serves to speed up future download access, which you won't use. So my choice would be #2.

By the way, don't you think there's a difference between "I want" and "I'm forced to"? It seems clear that nobody at all forces you, you only force yourself to want something impossible.

Kees

- Collapse -
I have 10 clients.
- Collapse -
Who cares?

You sell your clients 500 KB/s. Then they can't complain if it isn't 800 KB/s.

And with zillions of different files to load, how big is the chance that one of them will be downloading the same file as somebody else did in a few days?

Kees

- Collapse -
No !

My clients usually use one site for downloading movie and one site for downloading software and ...

In one week , many of downloaded files are duplicate ( with similar download's links).

No !
I'm really forced to provide 800 KB/s for my clients Plain

Why Squid or Polipo or any other cache server can not caching files when downloading with multi connections ?

Thanks.

- Collapse -
Now we're back to Kees open source comment.

CNET Forums

Forum Info