Overclock.net - An Overclocking Community - View Single Post - Site Speed Assessment: Your thoughts

View Single Post
post #28 of (permalink) Old 08-14-2018, 08:06 AM
tpi2007
Waiting for 7nm EUV
 
tpi2007's Avatar
 
Join Date: Nov 2010
Posts: 11,256
Rep: 890 (Unique: 501)
Thinking about this again, there is no reason to have the same file size limit for both avatar and profile picture, even more so considering that they have different image size limits (see quote below). 250 kB limit for the avatar max file size is too high, given that it's limited to 140x140. No .jpg file will use that much space.

I was wondering how my avatar (listed in one of the previous posts) used 175 kB, but it's explained by the fact that it's a PNG and it's 306x306. I must have saved it like that when editing the original one, which is not a square picture. The original one, which is a .jpg, uses a mere 27 kB. As I mentioned before, this also means that the system doesn't convert avatar uploads to a single file type.

I've just done some experiments downsizing large, multi megabyte pictures to .jpg at 140x140 and they top out at less than 35 kB, so there is no reason for the limit to be 250 kB, you can easily set the limit at 50 kB and that will save a lot of bytes per page. People can potentially save up to 2 MB per page at the default of 10 posts per page, up to a whopping 20 MB at 100 posts per page.

In case you want to allow .PNGs too so as to not have to convert them on your side, you can still set the limit at a lower 75 kB, that should cover all of them.


Quote:
Image sizes for Avatars are at 140x140 (They have been for a little while after this was deemed a good balance when the membership were consulted upon initial migration)
Profile Picture sizes are at 240x240

Avatar Max File Size:250KB
Profile Picture Max File Size: 250KB

Is your CPU bottlenecking your GPU ? Find out: CPU and GPU usage along with FPS in-game
Read my reviews here.
Clubs (founder): The rare / unusual CPU club
Clubs (member): Corsair Professional HX / AX Series PSU Owners Club || The Official Cooler Master HAF X/932/922/912(+) Club
CPU
Core i7-3820
Motherboard
Asus Sabertooth X79
GPU
MSI GTX 1060 6 GB Gaming X
RAM
16 GB Corsair DDR3 1866 Mhz Dominator
Hard Drive
Samsung SSD 830 128GB + WD Caviar Black 2TB
Optical Drive
Sony Optiarc DVD-RW
Power Supply
Corsair AX750 Professional Modular 80 Plus Gold
Cooling
Corsair A70 + Noiseblocker M12-P
Case
Cooler Master HAF 912 Plus
Operating System
Windows 7 Home Premium 64-bit
Monitor
BenQ RL2455HM
Keyboard
Cooler Master Octane
Mouse
Cooler Master Octane
▲ hide details ▲



Last edited by tpi2007; 08-14-2018 at 08:23 AM.
tpi2007 is offline