Tagged Questions

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)

3
votes
4answers
974 views

How to replay traffic to web server from logs to profile / benchmark web app under real load?

Is there a way to get recorder real network traffic to web server, e.g. from web server logs (Apache), and replay this traffic to either profile web application (in Perl) under real load, or benchmark ...
4
votes
5answers
607 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 ...
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 ...
6
votes
2answers
313 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 ...
5
votes
2answers
834 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: ...
2
votes
5answers
698 views

Is there a good tool or service for tracking and analyzing website response/download time?

I am looking for a simple tool or service to track the server-side performance of a website over time. It would be nice to have the possibility to register a set of URLs for different page types and ...
3
votes
2answers
830 views

Is it good to refresh a page after a fixed interval?

I seen many sites which are refreshing their pages after a fixed interval. Sometimes it is 1-2 mins only. If i refresh a page after every 5 mins. It'll helpful to notify user with updated contents. ...
7
votes
2answers
602 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. ...
7
votes
6answers
710 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 ...
5
votes
4answers
15k 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 ...
7
votes
2answers
307 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 ...
2
votes
1answer
130 views

What kind of ad format best for site header?

I have room in the header of my website for ads. I've tried 480x60 banner ads and text ads from several networks, relevant to the subject matter of the website and every type of ad has performed very ...
10
votes
1answer
237 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
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 ...
5
votes
1answer
261 views

Combining CSS files with regards to @media

We have a website where the usual speed ups from High Performance Websites and Even Faster Web Sites paid dividends. However we have neglected stylesheets (due to the difficulties laid out below) and ...
11
votes
5answers
278 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: ...
2
votes
4answers
1k views

Webpage Post Submits vs AJAX?

Which is better and why? I can see where a site that works 100% in AJAX might optimize a bit better, due to not having to reload the page on each click. But I am a huge fan of the big submit button ...
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 ...
4
votes
2answers
173 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 ...
7
votes
3answers
3k 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
2answers
207 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
1
vote
3answers
80 views

What type of websites shouldn't use a cache?

Is there ever a time when you should use caching? Like for frequently updated pages? Or, should you always cache? Please give examples and reason?
3
votes
9answers
256 views

How do you enhance your websites speed without compromising the design and access?

How do you enhance your websites load speed without killing the design and accessibility? File compression, CDN, Gzip? What are the best tools for doing so? For example, Google has optimized their ...
4
votes
2answers
592 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 ...
23
votes
5answers
737 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
4answers
4k 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 ...
6
votes
4answers
81 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?
50
votes
8answers
22k 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?
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 ...
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
598 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. ...
5
votes
1answer
107 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 ...
18
votes
5answers
14k 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
15
votes
7answers
435 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.
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?