JavaScript Libraries Updated on Hotlist.biz
We have completely updated all JavaScript libraries on the site to make the interface faster and more stable.
Main Changes:
- New lightweight image gallery: replaced Colorbox (16 KB) with SimpleLightbox (7 KB) – a fully independent JavaScript gallery. This reduces page load, speeds up performance, and makes the gallery independent of the jQuery framework.
- Full replacement of outdated request methods: all
$.ajax,$.get, and$.postcalls have been replaced with the standard fetch API. This update is required for the transition to jQuery 4 and the gradual move away from relying on this library.
Benefits of switching to fetch:
- Fewer dependencies: jQuery is no longer required for asynchronous requests.
- Modern standard: fetch is built into all modern browsers and supports promises, making it easier to handle results and errors.
- AbortController support: timeouts and request cancellation are easy to implement, improving interface responsiveness.
- Better optimization and speed: pages load faster because the amount of code is reduced and the data flow between server and client is simplified.
These updates make Hotlist.biz faster, more reliable, and more convenient for all users. Stay tuned for our upcoming improvements!