The art of tuning a website to deliver it's content quickly and efficiently to the user over a potentially low bandwidth connection.

learn more… | top users | synonyms (1)

49
votes
8answers
18k views

How can I simulate a slow connection for page load?

I have a fast server, and a reasonably fast home Internet connection. How can I simulate my page loading on a slow connection?
25
votes
3answers
2k views

Should I use gzip for compressing my HTML?

I saw from an online tester that my HTML can be compressed about 90%! Is it good practice to use gzip or not? I see that lot sites don't use it. For me it would improve traffic, as some pages ...
25
votes
4answers
3k views

Does “putting Javascript at the bottom” defeat the purpose of document.ready?

I know that it is recommended to put Javascript at the bottom of the page, but if I'm using jQuery doesn't this defeat its purpose to run as the DOM is loading? If I have a dropdown menu, for ...
23
votes
5answers
629 views

How can I reduce the costs of loading large JS libraries?

If I am using a large Javascript library for my page, how can I make sure that this does not impair the user's use of the site?
23
votes
1answer
3k views

How exactly is Google Webmaster Tools measuring “Site Performance”?

I've been working for two months now on improving our response time (mainly server side) on a new forum (a brand new product on a technical point of view) we've launched in Germany a few month ago and ...
18
votes
5answers
10k views

What is the Google Chrome equivalent to Firebug?

I'm looking for a tool that can: inspect HTML elements manage/debug JavaScript profile performance modify elements in real-time
18
votes
3answers
1k views

If a page takes too long to load, after how long will a user give up and re-load or go elsewhere?

If a page takes too long to load, after how long – generally – will a user give up and re-load or go elsewhere? What studies have been done that measured page load time and user ...
17
votes
6answers
571 views

How do you load test your application?

What is the most effective way to load to load test your app? The main point is to determine how many users you could support at a single time with the application still running at a reasonable speed. ...
15
votes
3answers
2k views

Why is loading speed of a website important for SEO?

I see everywhere on the internet how to optimize loading speed of a website but no one says why it's important for SEO. Inevitably, there are reasons why Google has decided to take this factor into ...
14
votes
11answers
2k views

Common optimizations to reduce HTML or XHTML page size?

What are some common optimizations performed to reduce HTML or XHTML page size? Some that come to mind are: removing comments, removing extraneous whitespace, moving repetitive inline styles to a ...
14
votes
5answers
2k views

What's the best way to load Javascript into a page to optimize performance?

Is there a way to load my JavaScript into a page that will make it load faster?
14
votes
7answers
419 views

What are the best ways to measure end user web site performance?

I know of a couple tools to measure end user web site performance and I'm wondering what else is out there. The two major ones I know of are yslow and Google's page speed.
13
votes
2answers
1k views

Ideas to improve website loading speed?

Are there any ways in which I can improve the loading speed of a website? I know that Google is really pushing loading speeds and with the popularity of mobile websites it's now imperative that sites ...
12
votes
6answers
3k views

Is there any way to improve the speed of Google Adsense/Analytics?

Whenever I run Google Page Speed or YSlow, many of the optimisations suggested stem from my use of Google Adsense and Google Analytics. For example, YSlow says there are "9 external Javascript ...
12
votes
1answer
3k views

What is recommended minimum object size for gzip performance benefits?

I'm working on improving page speed display times, and one of the methods is to gzip content from the webserver. Google recommends: Note that gzipping is only beneficial for larger resources. Due ...
11
votes
3answers
25k views

What's the best FREE CDN service available? [closed]

It seems like using CDN is a best option to provide users a great browsing experience. But, plans of the major CDN providers seem costly. So, I would like to get used to the CDN thing before I ...
11
votes
5answers
274 views

Should JavaScript referenced in the head section be served from the same hostname as the main document?

I was under the impression that for the best performance, Javascript should be treated as static content and served from a cookieless domain along with CSS files, images, etc. But Google says here: ...
10
votes
1answer
361 views

When and when not to use a CDN

I'm working on a web-application that loads a couple of small gif images onto the screen. I'm using a relative path, which means they are loaded from the same web server that serves the php page. The ...
9
votes
4answers
2k views

How can I measure website page load times from different countries?

Recently, I migrated one of my personal projects into cloud and hosted the app on UK based servers. I reside in Turkey and I would like to see how long it takes for my pages to load for UK based ...
9
votes
1answer
229 views

Hosting speed tests?

Are there any sites to test the speed of your hosting? I know there are sites that will tell you why your site is slow, e.g. - YSlow, etc., but how about the speed of bandwidth you get from your ...
9
votes
1answer
683 views

Is there a maximum size that web pages should be kept under?

Posted this on SO before Ben Voigt was nice enough to direct me here. Anywho, here is my question: When I say size I'm talking about bytes not pixels. I'm curious if there is any consensus on what ...
8
votes
6answers
5k views

Is it possible to use asynchronous google adsense, i.e. non-blocking?

I know that there is a Asynchronous method of using Google Analytics but is there something similar for adsense? I can't find one from my current searches - I was wondering whether there is a common ...
7
votes
4answers
286 views

When is it time to move on from WordPress?

My company's blog it closing in on 30,000 posts and get around 1,000,000 visits a month. Things seem slow even though we have a good server. At what point to you move on from WordPress or does it not ...
7
votes
6answers
699 views

drupal site speed increase

I'm using a drupal site with a theme from rockettheme. The users are member users. The problem is for unknown reason the site is very slow. Takes around 20 seconds to open the page. I have tried ...
7
votes
1answer
480 views

How is Apple's enormously image-heavy site served so fast?

Took a profile of the "Smart Cover" page on Apple's site using Pingdom. It's requesting 241 objects for a total page weight of 3472.6 KB! An absolute mammoth. How does this possibly translate into ...
7
votes
2answers
281 views

Is there any way to diagnose which PHP or Perl scripts consume the most CPU time on a production server?

On a slightly under-powered server, it occasionally gets hit by lots of robots crawling simultaneously. Whilst one solution is to look into throwing more processing power at the web server, it has ...
7
votes
3answers
2k views

Which resolutions should I make a favicon in?

I understand that you can create a favicon.ico with multiple resolutions embedded. Which resolutions should your average website support? Why? Edit: Performance should be a consideration. I want to ...
6
votes
2answers
306 views

Web hosting providers and performance

Is there a way that we can measure performance for a host provider? If so, I would like to start this post as a wiki for everyone to chime in regarding their hosting provider. (I want to change but ...
6
votes
2answers
549 views

Does specifying explicit image dimensions help site performance?

I ran some audits on a new web application we are about to launch. Chromium is suggesting in network utilization that a few images on our site do not have height/width dimensions explicitly declared. ...
6
votes
4answers
80 views

Are there any online tools that can help me find problems with my website?

I can run lots of performance tools on my server, but what is with problems that are only visible from the outside? Are there any tools that can help me with this?
6
votes
2answers
3k views

How To Move From WordPress To GitHub Pages?

I'm considering moving my blog, Dream In Tech, which is WordPress CMS running on my Rackspace Cloud Server, to GitHub Pages because I'm starting to have performance issues, but how to move the posts, ...
6
votes
1answer
136 views

window.performance (Navigation Timing) - how to get this reported in “analytics way”

I have recently learned about window.performance that seems a great way to measure webapp performance using real client traffic. Is there any analytics service that is built on top of this and allows ...
6
votes
2answers
202 views

what tools are available to analyze mobile site performance?

the tool must: 1) Test the page/component load/render time. 2) Be usable on multiple devices/browsers. 3) Show results with recommendations per-device/browser
5
votes
2answers
731 views

How is this site so fast?

how is the website http://dftba.com/ so fast? when i click a link it loads right then? what makes it work like this? how do i make it work like this on my site? some of the objects on the site are ...
5
votes
2answers
2k views

is it true that CloudFlare really doesn't affect dynamic content?

I've been reading the CloudFlare FAQ, I understand that is acts as a reverse proxy and all requests to your domain will go through CloudFlare. They say in the FAQ that it won't slow down dynamic ...
5
votes
2answers
2k views

Cache external static scripts?

In my never ending quest for a faster website, I thought perhaps I could cache some scripts. I'm using Yslow to rate my site, everything is pretty much A (which is great, our website on Pingdom loads ...
5
votes
4answers
317 views

Strategies for very fast delivery of webpages

I run a website Cucumbertown with an initial pay load of nearly 9KB zipped. All my js is delayed loaded with requirejs and modernizer is the only exception. Now all my webpages are Nginx cached ...
5
votes
4answers
14k views

What can you do to speed up IIS 7 web sites?

Turn on compression and you'll see immediate performance improvements, likewise if you enable caching for complex web apps. What other configuration options you can change to improve performance? do ...
5
votes
1answer
495 views

Page Speed Online vs Chrome Extension

In optimizing a content blog of mine with the goal of achieving the highest page speed score possible for obvious reasons (user experience, SEO, etc..), the results I'm obtaining are throwing me for a ...
5
votes
2answers
470 views

CDN solutions pros and cons

As the sysadmin in our organization I've been asked to look into CDN solutions as we have plans to roll out a web platform that is targeted at developing countries. Here is my research so far on the ...
5
votes
2answers
171 views

Do heavy graphics and/or a high load time affect a site's search rankings?

Does the use of heavy graphics/images (with img tag or in the CSS) effect a site's Google ranking? Sometimes sites are heavy because of the images used or Flash or lots of JavaScript - making the ...
5
votes
1answer
106 views

How much attention should I pay to page-load metrics?

My site scores a D in YSlow. How important is it that I get it up to say a B or an A? I feel the page already loads quickly. I tested it at home on a modest 512k connection and it loaded in an ...
5
votes
1answer
273 views

Is gzip compression available for GitHub pages?

I'm using GitHub pages to host my site. While checking Google PageSpeed Insights, it recommends that I enable gzip compression. Since I have a static site hosted on GitHub, I'm not sure that is ...
5
votes
2answers
766 views

URL rewritten pages take much longer to load

(Same issue as http://stackoverflow.com/questions/3987754/how-to-diagnose-htaccess-speed-issues-via-rewritelog but more clearly explained below) We have a site which has scripts like this: ...
5
votes
1answer
129 views

Connection speed for a website from UK to Australia

I need to open a website only for Australian customers. The fact is that our provider's servers are all housed in the UK. What do you suggest is better? Leaving our website in the UK? Or buy a ...
5
votes
1answer
158 views

What percent of visitors should click on the next page before you enable prefetching?

Mozilla Firefox and Google Chrome support prefetching via an HTML tag: <!-- in chrome --> <link rel="prerender" href="http://example.org/index.html"> I suppose it is always worthwhile ...
4
votes
5answers
461 views

Do user names used for login need to be unique?

Assuming a non-commercial site where users login with a user name and pw, do I need to enforce unicity of usernames? Note: The db will use a separate unique index to identify the users. The site is ...
4
votes
5answers
4k views

GZipped Images - Is It Worth?

Most image formats are already compressed. But in fact, if I take an image and compress it [gzipping it], and then I compare the compressed one to the uncompressed one, there is a difference in size, ...
4
votes
2answers
172 views

Page speed affecting ranking in practice

Articles like this one discuss Google possibly taking speed into account for ranking factors. Are there any other search engines which already take speed into account for search results? or perhaps ...
4
votes
2answers
432 views

CDN for authenticated sites

We have a site that requires users to sign into. Typical stuff. Today, all the content (dynamic and static) is behind the login process, and you cannot access any of the pages or files via a URL ...