Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for using proxy when downloading chapters #2

Open
galpt opened this issue Oct 15, 2024 · 1 comment
Open

Add support for using proxy when downloading chapters #2

galpt opened this issue Oct 15, 2024 · 1 comment

Comments

@galpt
Copy link

galpt commented Oct 15, 2024

The proxy feature (0ms.dev) is already implemented to the Kotatsu mobile app as an image optimization proxy (KotatsuApp/Kotatsu#771).

Some benefits worth mentioning from using the proxy:

Reducing server load from these manga websites

Actually, the proxy can be used to reduce burden to a manga source when multiple users are trying to download a chapter, so multiple requests will go to the proxy first and the proxy will check if that chapter is already in the cache or not. If already in the cache then there's no need to forward the request to the manga source, so it will reduce the server load from that specific source.

Protecting user's IP address when downloading images

The proxy will make requests on behalf of the users. So that means this could prevent the user from getting blocked when downloading the images since the manga website will see the proxy IP addresses that are downloading the image links.

Acts as a caching proxy for everyone

The proxy also acts as a global CDN that will probably always be faster compared to downloading from the manga websites directly without proxy. It's because home ISPs won't always give the best peering to cloud servers compared to a CDN that usually already has a pretty good peering to most ISPs and cloud providers.
So User <-> Proxy as CDN <-> Image links is usually faster than User <-> Image links.

@Koitharu
Copy link
Member

Yes but a bit later, I guess this feature is not mandatory for downloading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants