3D-LOAD.NET ... Down??

Tzimishy

Newbie
Dec 16, 2017
32
58
Ah okay. I pulled up my browser the other day to grab three things I found and realized the site was down. Good to know you are getting it back up.
 
Oct 20, 2017
57
209
yeah, it was too slow, i'll find a solution...
I believe I can help you with that. I can see there are two large optimisations you can make.

First is the bandwidth usage - You're displaying full-sized images on the index pages that are scaled down within the HTML. This requires each visitor to download large images even if they are not interested in visiting the detailed page. You should consider having properly resized images for the index pages, and gain a drastic reduction in bandwidth usage.

Second is that you are accessing the database for every page. There is a limit (one you may be able to increase) to how many concurrent open connections to the database. A "temporary" solution to this would be to increase this limit if you can, and if you have enough RAM that would allow it to happen smoothly. The more ideal solution would be to have Static HTML pages created for each product detail page (not access the database at all).
 

Anon951

Member
Jul 26, 2019
159
130
I believe I can help you with that. I can see there are two large optimisations you can make.

First is the bandwidth usage - You're displaying full-sized images on the index pages that are scaled down within the HTML. This requires each visitor to download large images even if they are not interested in visiting the detailed page. You should consider having properly resized images for the index pages, and gain a drastic reduction in bandwidth usage.

Second is that you are accessing the database for every page. There is a limit (one you may be able to increase) to how many concurrent open connections to the database. A "temporary" solution to this would be to increase this limit if you can, and if you have enough RAM that would allow it to happen smoothly. The more ideal solution would be to have Static HTML pages created for each product detail page (not access the database at all).
Thank you for the useful tips, i'm actually using Smush image plugin, i through to convert all image from jpg to webp. for the second tip I just using redis, that should help to reduce database connection, I think the real problem is the poor image optimization...
 
  • Like
Reactions: CulayTL

Kaylakaze

New Member
Dec 6, 2019
2
0
The image thing is definitely a huge problem. You're probably averaging about a meg per image on the index page. Those could fairly easily be reduced to 10% of their size (for the index page thumbnails, you should keep the high res image for the details page) with little loss to visual quality. Don't worry about webp. No one uses it. Just reduce the dimensions and compression on the jpegs and you'll be fine.
 
Last edited:

CulayTL

Sneaky Bastard
Donor
Game Developer
Jan 31, 2018
4,384
35,303
Thank you for the useful tips, i'm actually using Smush image plugin, i through to convert all image from jpg to webp. for the second tip I just using redis, that should help to reduce database connection, I think the real problem is the poor image optimization...
Welcome back!
 

hitfel

Newbie
Dec 9, 2019
38
7
you should try this
 
Last edited:

Anon951

Member
Jul 26, 2019
159
130
I'm using w3 total cache with redis integration(memory cache) that cache, "object cache", "database cache" and "page cache" never had problem with that... :(