Wishing everyone a great day We hope it will be an enjoyable duration for all teams.
As the TronPixels, we are excited to fulfill a promise we made a few days ago. We have optimized and improved our site speed. We have reduced the site content loading time, which used to take 12 seconds, to 2-3 seconds. In addition, the bug of the site refreshing itself after upvoted content has been resolved. We are rapidly working to provide users with a way smoother interface. If you haven’t tried TronPixels yet, we leave our link here:
Cool update. Speed is important key factor for users to come to any platform. I had a chance to check your project this morning. Next days you may divide your main js into many js files to categorize the functions of codes better. All clear, keep building team good luck
@Anderson For the optimization of data retrieval on the TronPixels platform, we employed several specific techniques to significantly improve speed and efficiency:
Parallel Data Fetching with Promise.all(): Instead of fetching blockchain data sequentially (e.g., canvases and their upvotes one by one), we optimized performance by fetching multiple requests in parallel using Promise.all(). This reduced the overall data retrieval time by allowing concurrent execution of multiple calls. This one helped us the most to optimize the speed by reducing time of 5-6 seconds. Moreover, we combined it with asynchronous JS functions (async/await) so that we ensured non-blocking behavior during content loading from the blockchain.
Lazy Loading of Content: To improve perceived performance and reduce the initial load time, we implemented lazy loading. The platform now loads the first few pieces of content immediately and delays the loading of additional content in the background. This provides users with faster access to initial content while allowing the rest to load incrementally. This progress saved us 2-3 seconds more.
After all, instead of loading all content in 10-12 seconds, finally we load it in around 2-3 seconds. Kindly go and test our platform. 'll be waiting your pixel art too
Upvoting system helps us to ranks and load contents in popular ranking. We show highest upvotes (most liked by users) on the top and goes like that. We’ll add new features on it next days.
You are one of the shining projects in the Artistry track. I have been following you closely for a few days. It is really remarkable that people can display the pixel drawings(or art in your terms) they like on your platform. I wish you to continue this success