A first look at the new cache support coming to JAM (Patreon)
Content
Hi everyone!I’m happy to share a preview of an important new feature coming to JAM, and this short video shows it in action.
Until now, if a download failed halfway or if you accidentally deleted a chapter, you had to re-download everything from scratch. This meant wasting time, consuming more data, and putting unnecessary stress on the source websites.
That will end soon.
In the video above, you can see the new download system (using OkHttp) in action:
First Download (Empty Cache): It takes over 75 seconds to fetch the chapter!
Second and Third Download (With Cache): Even if the chapter is deleted from the disk, JAM will recognize its cached data and the re-downloads finishes in just 3 or 4 seconds!
This is a real game changer. Until now, if something went wrong during the download of a chapter, JAM had to start over and re-download the entire chapter from scratch. With the new cache system, JAM will only re-download the missing pages, drastically reducing total download time. This also means far fewer HTTP requests sent to websites, which helps avoid unnecessary server load and reduces the risk of rate limits or bans.
Of course, this feature will be completely optional. Users will be able to enable or disable caching as they prefer, since not everyone wants to use additional disk space. There will also be an option to automatically clear the cache when closing the program, so it won’t keep accumulating over time. Additionally, users will be able to choose the maximum size of the local cache directly from the settings. As always in JAM, the user will have full control over the program’s settings 👍
Overall, this is a major improvement that will bring significant benefits in speed, reliability, and efficiency.
Stay tuned for more updates because there’s a lot more coming! 🚀