MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
WebPagetest Forums - Need some "did you know..." tips

WebPagetest Forums

Full Version: Need some "did you know..." tips
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Have any suggestions to share about WPO, tools, using WebPagetest, configuring Apache, etc?

I'm adding a tip box to the test progress page so people have something to read while they wait for their test complete and hopefully it can be educational. If you have anything you'd like to share (and don't mind me using) please post it here, otherwise you'll be subjected to my random musings :-)


CSS expressions are bad, but if you really must use one, you can make it self-rewriting:

.the-thing {
background-color: expression(this.runtimeStyle.backgoundColor = 'none', [your code here]);

Tips are live now (well, all "2" of them I have so far anyway Smile). You should start to see them on the testing page and you can see all of them by going here:

Keep them rolling in!


- echo is faster than print.

- Wrap strings in single quotes (‘) instead of double quotes (“) for added speed. Why? because PHP searches for variables inside “…” but not in ‘…’


ok, maybe that last one won't cut it, but far too often people don't optimize their code because they just don't READ THE... MANUAL!
Reference URL's