Questions tagged [performance]
The art of tuning a website to deliver it's content quickly and efficiently to the user over a potentially low bandwidth connection.
407
questions
78
votes
12
answers
53k
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?
48
votes
3
answers
61k
views
Is gzipping images worth it for a small size reduction but overhead compressing and decompressing?
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, ...
47
votes
6
answers
13k
views
When webservers send a page, why don't they send all required CSS, JS, and images without being asked?
When a web page contains a single CSS file and an image, why do browsers and servers waste time with this traditional time-consuming route:
browser sends an initial GET request for the webpage and ...
47
votes
2
answers
32k
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 ...
33
votes
3
answers
8k
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 ...
31
votes
6
answers
61k
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
29
votes
1
answer
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 ...
28
votes
5
answers
12k
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 example,...
26
votes
4
answers
20k
views
When should I use the “crossorigin” attribute on a “preconnect” <link>?
I’d like to include some preconnect resource hints on my site so that browsers can (for example) connect to the jQuery CDN before they actually see the script tag that invokes the CDN. I’m not sure ...
25
votes
5
answers
3k
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?
25
votes
2
answers
3k
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 ...
25
votes
2
answers
14k
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 ...
24
votes
7
answers
51k
views
How to test the speed of a page that is guarded behind login page?
For public page, I can use pingdom.com to calculate the response time/uptime of a page over a certain period of time.
However, pingdom cannot time the response time of a webpage guarded behind a ...
23
votes
6
answers
828
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.
22
votes
4
answers
3k
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 ...
22
votes
3
answers
2k
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
1
answer
8k
views
Improve web site performance via parallel CSS downloads?
I was optimizing the page load time of a website. One of the ways was by combining multiple HTTP requests for CSS into one combined HTTP request. But one of the reviewers asked an interesting question:...
16
votes
11
answers
4k
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 ...
16
votes
7
answers
532
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.
15
votes
5
answers
7k
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?
15
votes
7
answers
6k
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 ...
14
votes
2
answers
40k
views
How to optimize the load time of initial connection and SSL handshake phase of a web page on a 3G network?
My website www.example.com(SSL enabled) is hosted on Amazon EC2 shared hosting. It loads faster (load time < 2 seconds) on a wifi/broadband connection. Issue is on 3G network in mobile**(H mode and ...
14
votes
4
answers
14k
views
How can I measure website page load times from different countries? [closed]
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 ...
14
votes
1
answer
752
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 ...
13
votes
2
answers
9k
views
How to improve extremely slow page load time on a 23MB web page full of SVGs?
I have a webpage that is full of inline-SVG around 140+ inline SVGs! Just the HTML file size is 23MB, plus there is external CSS and JavaScript loading, though that is roughly only around 30KB. The ...
13
votes
1
answer
1k
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 ...
12
votes
4
answers
17k
views
Specifying image dimensions to improve browser performance
I recently ran an audit on my web site using Google Developer Tools. My images are all the same size (500 horizontal by 300 vertical pixels) so I thought it would be better if I left out the image ...
12
votes
4
answers
12k
views
What's causing the 'wait' time before my HTML loads?
I have a website the seems to load very slowly. When I run a speed test on it I see there seems to be a 6 secound gap before the HTML loads. Images and JS scripts load very fast after that point.
You ...
12
votes
2
answers
5k
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 ...
12
votes
6
answers
8k
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 ...
12
votes
5
answers
347
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: ...
11
votes
5
answers
11k
views
Blank image. What to use: Base64 vs 1x1 JPEG image
I am building a website and I want to make HTTP queries as few as possible for a better website speed and seo. The page I just created is showing images on scroll (images have an attribute data-scr ...
11
votes
3
answers
27k
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
1
answer
295
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 ...
10
votes
3
answers
13k
views
Performance: 4096 Bit RSA-Key compared to 2048 bit RSA-Key
Is there a comparison between 4096 Bit RSA-Key and a 2048 Bit RSA-Key? I'd like to know what impact on performance it has, if I'm choosing a 4096-Bit key for ssl-encryption. Is there any info which ...
9
votes
1
answer
2k
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 ...
9
votes
1
answer
228
views
Do sites without ads perform better in Google search results?
Does Google view sites without advertising as a more reliable source of information and increase the odds of a website returning in the search results?
I ask this for a few reasons.
The main reason ...
8
votes
4
answers
362
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 ...
8
votes
2
answers
5k
views
Speed comparison - absolute vs relative path links
Let's say I want to link to a parent directory (http://example.com/library/) from a subdirectory (http://example.com/library/html/basics/).
The link to the parent directory can be:
href="../../"
...
8
votes
3
answers
8k
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 ...
7
votes
2
answers
5k
views
What is the default behavior of Cache-Control
If no private nor public were defined in the cache-control, e.g.
Cache-Control: max-age=31461276
What is the expected behavior?
7
votes
2
answers
10k
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 ...
7
votes
6
answers
739
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
4
answers
101
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?
7
votes
2
answers
751
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
2
answers
217
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
6
votes
2
answers
993
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
2
answers
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
1
answer
9k
views
What sense can be made out of TIME_WAIT, CLOSE_WAIT, ESTABLISHED
Using netstat command, I got the number of couple of TCP states of connections.
But for running websites, how to make meaningful connections between these numbers and the bottleneck/performance of ...
6
votes
2
answers
1k
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 ...