Easy Image Optimizer made my site slower
Sure it did, but not for long! First, remember that the Easy IO plugin replaces all your image URLs with cloud URLs so that it can optimize them "on the fly". These "cloud URLs" route your images through a CDN (content distribution network) that has image optimization built-in. Our CDN, just like all CDNs, has a lot (hundreds) of servers, and each one of those has to fetch a copy of your images. That only happens as quickly as real people view your page (from the location nearest each of those servers). We call this process filling the cache.
Reload your page 4-5 times, and you should then have the full effect of image optimization in place. But what if you're seeing slow-downs on a speed testing site, like GTmetrix or PageSpeed?
First, don't use PageSpeed to actually measure your page speed. Crazy, eh? We have hundreds of servers in 35+ locations, Google has hundreds of testing servers, probably in even more locations than us, and the combinations are pretty endless there. To get a proper speed test, use GTmetrix:
- GTmetrix lets you choose the test location. This means you can consistently test your site from the same location, and it will build up the CDN cache for that location quickly.
- When you go to the Waterfall tab, you can actually see if GTmetrix is getting cached results, or if the cache is still being filled up. What? How? Tell me quick! Alright, alright, slow down :) Scroll down the waterfall view, and look for files that were loaded from Easy IO (the ones with .exactdn.com in the URL). Click on one, and look for "Cache:" in the Response Headers. If it says MISS, run the test again. If it says HIT, check a few others. If you find any MISSes, run the test once more.
- You can get a free GTmetrix account to view some useful stats on the Timings tab. Fully Loaded means EVERYTHING has finished loading, it is not the same as when the page has loaded for your visitors. Lot's of plugins use clever ways to defer resources, especially things like ads, so the fully loaded time might paint a dismal picture. But never fear, check the Contentful Paint and Dom Interactive times to see when the page actually shows up for the visitor.
Even better, go load the page yourself. Of course, make sure you logout first, so you get the same experience as your visitors. Do it on a laptop, on a tablet, on a phone, any device you have, do some real tests and see how it feels.
Otherwise, go get some coffee (or your beverage of choice) and just relax. Then go spend more time working on what you enjoy!