Hotfix Part 3:
July 15, 2023
Image Thumbnails
I was able to make big changes to the performance of the website by creating several scripts that resized images from the entertainment section to very specific dimensions. Now anime have the following sizes:
While searching for anime using the search feature, the live results for example will display Micro-thumbnails. Likewise, anything else that is about that size will display that. Poster is currently the largest size however Extra Large will be made available again by clicking on the anime or manga's poster. It will also be made available within the Media subsection of the title.
This was honestly the biggest improvement, even more important than optimizing the database as I found out that the thumbnails were not originally around 30kb each as expected but at LEAST 100kb! That means if there were 60 images on one page, it could have easily rendered over 6mb of data per page! Yikes! Now, the images are all properly sized, at least most of them. I will create another script that does the same for characters and staff when the time is right.
Database Optimization
I have further improved the database and database queries after careful analyzing. It should be operating at least 600% faster now.
Enhanced Security
I have improved security to the site by employing various measures against malicious bots that would download everything here. Other security improvements have been made which also doubles for performance improvements.