Contributor
- Joined
- Mar 10, 2018
- Messages
- 3,771
Hello, i noticed one of the cause of the huge loading time and spike lags that affect this website in certain parts of the day timeframe, is the absence of resized thumbnails.
I mean, thumbnails are indeed preview images but they do not match the small size you see in the main page, they are just the original pictures resized. The problem is that these original images sometimes are very big and heavy to load in PNG format.
This is the cause of the huge loading time not only of preview images (left to the title) but user avatars too.
Solution, add a script or a plug-in that automatically create a resizing and small version of the original cover manga (both main website page and tabs) and avatar and covert it in JPG format.
This will prevent stressing the website and it load only small sized JPG images, of course the original images of the manga are loded in their original PNG form. If someone want to see the original image of the cover and user avatar it have to just click over it and will load the original size.
Tl;dr
Issue: All images on the website are in their full original size, often in 2-3 mb PNG format each and so creating lag and stressing the server at every refresh.
Pages affected: main page thumbnails, manga covers in the dedicated tabs, user avatars.
Solution: when adding manga covers and user avatars the server automatically create a small version of the same picture in JPG format to use as a thumbnail.
To see the full original PNG image of user avatars and manga covers just click over it, to go to the manga tab and chapters just click the name.
Of course this change do not affect manga chapters that are loaded in their original format like now.
Any further suggestions or tips are welcome.
I mean, thumbnails are indeed preview images but they do not match the small size you see in the main page, they are just the original pictures resized. The problem is that these original images sometimes are very big and heavy to load in PNG format.
This is the cause of the huge loading time not only of preview images (left to the title) but user avatars too.
Solution, add a script or a plug-in that automatically create a resizing and small version of the original cover manga (both main website page and tabs) and avatar and covert it in JPG format.
This will prevent stressing the website and it load only small sized JPG images, of course the original images of the manga are loded in their original PNG form. If someone want to see the original image of the cover and user avatar it have to just click over it and will load the original size.
Tl;dr
Issue: All images on the website are in their full original size, often in 2-3 mb PNG format each and so creating lag and stressing the server at every refresh.
Pages affected: main page thumbnails, manga covers in the dedicated tabs, user avatars.
Solution: when adding manga covers and user avatars the server automatically create a small version of the same picture in JPG format to use as a thumbnail.
To see the full original PNG image of user avatars and manga covers just click over it, to go to the manga tab and chapters just click the name.
Of course this change do not affect manga chapters that are loaded in their original format like now.
Any further suggestions or tips are welcome.