I’ve been struggling with a clients site for a few weeks now that has an enormous lag on all page loads. 8 – 10 seconds…yeah, right? Turns out the real issue is a conflict between the PHP and PHP cURL versions and…wait for it…I’m sure you’d never guess…a…plugin. I know you are stunned at that news. That’s not why I’ve brought you here today.
I discovered that if you add a trailing slash ‘/’ after the URL to any given page in wordpress, you can avoid a 301 redirect. For example, http://www.example.com/test-page, really gets redirecteed to http://www.example.com/test-page/.
Depending upon your server situation, you can save up to a second or two just by eliminating those redirects.
🙂