Using google analytics I have begun tracking load times of users that are visiting the site. I track the average load time. Based upon several articles I have read on the topic of load times I have seen the expected load times on a website is 2-4 seconds. Since you are unable to predict what sort of internet connection your consumer has as well as what other potential things that could be slowing down the web response time, the general idea would be to make the web page load as fast as possible. In order to provide the fastest web response possible from the sites I work on there are several tools that I use.
YSlow (Firefox,Chrome,Opera, Safari - Addon) - YSlow is an add on that you can install into your Mozilla Firefox browser. When you run this add on against your website you are able to get a letter score. This letter score tells you how well your website is optimized to return a page to the user. This addon will give you your score on a page by page basis and will also change your score based upon a cleared cache load versus a cached page load. You can do a clear cached load in most browsers by doing a Ctrl+F5 to refresh with a clear cache. It is generally best to test a page like the home page with a cleared cache as it will give you a score that most new users will see. (New users will be your hardest market to keep interested as they have not yet decided if your page has the content that they are looking for.) For pages that will be traveled to from the home page you can test with a clear cache however it is not as important unless they are pages that you expect to be accessed through search results. YSlow gives you results that are detailed to tell you what you should be doing to make your website better. Your overall score will be determined by your score from smaller categories. Currently these categories consist of:
- Make fewer HTTP requests
- Use a Content Delivery Netword(CDN)
- Avoid empty src or href
- Add Expires headers
- Compress components with gzip
- Put CSS at top
- Put JavaScript at bottom
- Avoid CSS expressions
- Make JavaScript and CSS external
- Reduce DNS Lookups
- Minify JavaScript and CSS
- Avoid URL redirects
- Remove duplicate JavaScript and CSS
- Configure entity tags(ETags)
- Make AJAX cacheable
- Use GET for AJAX requests
- Reduce the number of DOM elements
- Avoid HTTP 404(Not Found) error
- Reduce cookie size
- Use cookie-free domains
- Avoid AlphaImageLoader filter
- Do not scale images in HTML
- Make favicon small and cacheable
SpriteMe (sprite generating web application) - I found this application on the web and have found it to be a very useful tool in generating Sprites. It will take every image on your website that is not already a sprite and display them for you to choose to combine or create your own sprite. You will notice that the sprite image that is created will indeed be larger however it will be far less images. It also allow you to export the new css that will correctly generate your new background-images using the sprite image it creates. SpriteMe is easy to install by just simply bookmarking the link that is included on the SpriteMe Website and then on your own website simply click the bookmark and it will generate your sprites and css on the same page by using JavaScript.
There is much more that goes into a website that you can use to improve your website speed. Most of these tools are not something that normal websites would have to be concerned with but it never hurts to know what is out there to better yourself towards making websites.
All the contents you mentioned in post is too good and can be very useful. I will keep it in mind, thanks for sharing the information keep updating, looking forward for more posts.Thanks accelerated mobile pages wix
ReplyDeleteAfter reading your blog I think you have good information about this. I will like to share this information with my friends who need this. Thanks for this blog. Buy Ready Made Website
ReplyDelete