In case you’ve missed it, I had a small issue with my site last week. Here’s a quick recap:
You know when you share a link on Facebook, you drop it in your status box, and Facebook parses and fetches the link’s content, along with the thumbnail image right next to the post? Well, that’s not what happened here. Instead, all I got was the URL, the link’s content underneath my name, but without the thumbnail. This was driving me crazy because everything appeared perfectly fine on my site; so I had to figure out why it was doing that.
I later found out what caused it. Turns out, there was random string that appeared in the source url of my <img> tags. An example would be “ic.b9c300ea975508c9bb47eb8bd273d073.136x136x”. I tried every method there was to narrow why this was happening; I posted my question on a bunch of sites like stackoverflow.com, wordpress.stackexchange.com, superuser.com and WordPress support forum, but no one was able to answer my question. Luckily, a few days later, this is what I saw in the url:
You notice the “pagespeed.ic.1xHw5gUYym” part? I was able to google and find out what this was all about. It appears that DreamHost had enabled a feature called mod_pagespeed, a project hosting on Google Code.
I looked into how to tune and set up Page Speed to help your site’s performance. Here’s my final solution, added to my .htaccess file:
Also, I’ve made some changes to my site’s caching feature. Check out the performance of the browser on second load onward!
Problem solved. I’m back to being a happy blogger 🙂