Jump to content

[Solved] IP Blocked....


skullys

Recommended Posts

Depending on how your site is set up you can get a lot of connections simply from opening your homepage. With http1.1 each resource is another connection. So the base html is 1. Maybe you have 5 separate css files, that's 6. Maybe you have 10 javascript files, now you're up to 16 already. All it takes from there is 29 images, and you're at 45. All those separate http1.1 connections cause overhead and cause your site to load slowly because each connection has to negotiate ssl, and send headers, etc. You can inline your html, css, and javascript, and even minify them to save some whitespace and comment bandwidth as well as reducing your connections from 16 to 1 in my example. For the images you can create image sprites where you clump all the images together into one big image and then use css to slice the sprites off once the whole image has been downloaded to the browser. Techincally it's even possible to inline images as base64 encoded strings within your html, but most people don't go that far. So, just optimizing your homepage for speed like this can reduce your connections in my rather extreme example from 45 down to 1 or 2. You can tell how many connections your homepage uses by opening the F12 menu, and going to the network tab. Then refresh your page and each line that appears in the network tab is a connection.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...