3 ms·
I would expect something a lot more from google. All these ideas are way too elementary and some are just misguided. Advice like "crop your image"...come on.
by pinkbike 17y ago
I would expect something a lot more from google. All these ideas are way too elementary and some are just misguided.
Advice like "crop your image"...come on.
The misguided ones are things like "use single quotes instead of double quotes when printing in php since one does not look for variables in the string text". The is just misguided and is probably the last thing your should worry about. This is orders of magnitude from any useful optimization that is actually impacting your site performance.
- andreyf 17y agoLook through the rest also - the advice really varies. I found the part about avoiding browser reflow [1] very useful. Just last night, I was getting usability issues with a piece of JS which was executing with each keystroke and (I now realize) sometimes causing reflow. I fixed it, but now I know what was broken :) 1. http://code.google.com/speed/articles/reflow.html http://code.google.com/speed/articles/reflow.html
- zackattack 17y agoI disagree; I thought the point about not copying variables in order to make the code look "cleaner" is a good point. I never considered that a malicious user might pass in 512kb worth of data into a textarea..