Testing some site optimizations

Taylor Love

Taylor Love
Staff member
Administrator + Developer
Messages
109
Reaction score
57
Points
28
Location
Everett WA
Website
www.linkedin.com
The youtube links used to take like 1.2s to load, and they used 2.2mb every time it would load. ... I mean. Honestly, no one needs an entire youtube player until they click to activate the player. The hit to the load time is uncalled for. This change makes it so you see an image thumbnail of the youtube video, and it will only activate once you click it. Feels a lot faster.

 
Last edited:
Testing image load times...
feature_21.png
feature_06.png
 

Attachments

  • feature_08_lg.png
    feature_08_lg.png
    122.6 KB · Views: 360
Basically the forums load really quickly. Checking site analyzers, it's almost entirely Google AdSense that takes up the bulk of the site load time. The site still loads in like 1.5s, but an entire second of that is from Google AdSense. Also noticed that the SSL TLS handshake was taking a solid 120ms. That can be sped up by using OCSP stapling.

OCSP_Stapling.png

For a normal TLS handshake your browser talks to the server, and says "Who are you, what's your secret key?" The server then replies, "Oh it's this key right here." Client says, "Alright. Let me verify this. Let me check with the central server." So the central server replies with the other side of the key. Every single user has to do that same step. Why not have the server cache the value and send it along with the other responses? Seems easier. Saves everyone a trip. So that is what OCSP stapling does. Maybe it will save 80ms.
 
Last edited:
Back
Top