Search engines care about page speed. Users care about page speed. It only makes sense that you try to make your pages load as quickly as possible, without losing anything important.
So, here's a few quick tips on how to do that. Let's get into it:
1. Reduce number of HTTP requests
Browsers have limitations how many parallel requests per server/proxy they do.
Firefox 2: 2
Firefox 3+: 6
Opera 9.26: 4
Opera 12: 6
Safari 3: 4
Safari 5: 6
IE 7: 2
IE 8: 6
IE 10: 8
Source: stackoverflow, you can also take a look at Browserscope.
So, what can we do about this? First thing that comes to mind is bundling. Bundling basically means that you combine all the different CSS or JS files into a single file which then browser downloads using only one HTTP request.
Pretty nice, huh? In this manner we can really reduce the number of HTTP requests. So how do we do bundling?
Another way to reduce number of HTTP requests is also to use CSS sprites. This means combining image parts of your layout into one large image and then use CSS background-position to show appropriate part. This way not many small images are downloaded, but one larger which again - reduces the number of HTTP requests.
Not really related to bundling or sprites, but I also found one extra tip for designers - this interesting point on Dawid Walsh's blog - Combine Your CSS Media Styles Into One File.
Google and all other search engines say "don't do soft 404". The proper way to return a 404 is with a 404 status code and some content that indicates that the requested page is not available. But the key thing is to return Real 404 HTTP status code and avoid any solution that replaces 404 with 301. This is completely wrong and has a potential to do damage to your site.
How to do this? Well, as always in IT there are different ways. Here's how I usually do it.
Add this to web.config:
<httpErrors errorMode="Custom" existingResponse="Replace">
<remove statusCode="404" />
<error statusCode="404" responseMode="ExecuteURL" path="/Error/NotFound" />
There are cases when you don't want to add some plugin to your blog or to the website you're building simply to have social sharing links on your site.
You might also want to be in full control of your design.
In cases like these it's hand to have a set of commonly used social links.
So, here hey are.
I have seen that a lot of people visit this site when searching for:
Handler "PHP_via_FastCGI1" has a bad module "FastCgiModule" in its module list.
So, here's how to solve this:
- Go to Control Panel -> Programs and Features -> Turn Windows features on or off
- Scroll to Internet Information Services -> World Wide Web Services -> Application Development Features
- Turn on CGI
- Wait a bit
For more information how to configure PHP on IIS visit Installation on Windows systems on php.net.
Hey, you! Thanks for visiting. I don't know if you found this website via a search engine or by social media link or whatever, but thank you for stopping by. As a matter of fact, this will be the topic of our little post: how to improve your SEO, from the technical side of things.
This will be the post about what you as developers can do about SEO. We'll stay on the technical side of the equation, and leave the "snake oil salesmanship" to so-called "SEO experts, gurus and rockstars". Therefore we'll only mention the things that are proven to be SEO-friendly, and much more important than that, we'll see how you can implement those things using some popular Web Development technologies.
So, let's get started.