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.
In this video from Feminist Frequency (site) host Anita Sarkeesian takes notice how game developers tend to create non-playable sexualized female characters whose only function is to add some substance to the background of these games and to keep presumably straight-white males interested.
I highly recommend you take 30 minutes of your time and watch this video, even if you're not into games. I promise, it will remind you how we as developers and human beings take some things too lightly, without thinking them through. It might even make you stop and think before you snicker at the idea of a female developer. And if it helps to do that, I'd say it's 30 minutes well spent.
Let me just repeat author's warning before the video. Content Warning: This educational episode contains graphic sexual and violent game footage.