Newbie Spellweaver
- Joined
- May 30, 2017
- Messages
- 36
- Reaction score
- 10
Thanks a lot I appreciate it.I have to say, this looks awesome already. I like the design and concept of it. One thing I notice in your video is the extreem long loading time. In your feature list I see "caching", I hope that will decrease loading to none
Keep the good work up!
Perhaps run a background job and let the user carry on browsing the website while it processes their torrent in the background and then alert the user when it's ready? Should set up a job queue for that, beanstalkd for example. It would "mask" the time it takes to load.Thanks a lot I appreciate it.
Yeah, due to many HTTP requests that has to be made, the loading time can be a bit much. I tried disabling various torrent providers like kat and tpb, as their website is so damn slow. For app development until I find something better, I'm currently using YTS API and webscrapping on iDope, and that actually works pretty great and is fast.
It caches 2 ways. One time in the state, so it lives forever meanwhile the app is open so no file reads or http requests has to be made, and then it gets written to a file in the app cache folder using a npm module I published.
You must be registered to see links
Perhaps run a background job and let the user carry on browsing the website while it processes their torrent in the background and then alert the user when it's ready? Should set up a job queue for that, beanstalkd for example. It would "mask" the time it takes to load.
I'd also recommend using Redis as a session store and cache - I use it for my large traffic site (200M+ requests a month) - and it is super fast. You can also reduce the load time by ensuring images (thumbnails and such) are the correct dimensions rather than being unnecessarily large for the container they are being displayed in.
I'm actually a really big fan of the design, do you happen to have the core CSS/JS/HTML files rather than me taking ages searching through your github files? I'd like to use it on a side project I'm working on, if possible.