I need to find ways by which we can improve web page speed. I come to know some of general aspects for it like avoiding JS, graphics, widgets etc etc. but is there any ways, which we could change in our html coding by which pages we can explore web pages faster? HTML 5 is also an option but what what are the other option in it to make it more better.
Thanks,
KS
No Kaustubh No Fun, Know Kaustubh Know Fun..
Akhilesh Trivedi
Ranch Hand
Joined: Jun 22, 2005
Posts: 1493
posted
0
Is it pure HTML? then whatever you have mentioned like JS and graphics should be considered, thing would different if page is dynamic. You would need to consider server side delays which is another big deal in itself.
Before you make any changes you need to determine where the perceived slowness comes from. Is it really because of the HTML/CSS/JS content? Or is maybe the ntework connectivity bad? Is the web server or the DB slow? Before you have answered these questions in detail, any optimization is premature.
Ulf Dittmer wrote:Before you make any changes you need to determine where the perceived slowness comes from. Is it really because of the HTML/CSS/JS content? Or is maybe the ntework connectivity bad? Is the web server or the DB slow? Before you have answered these questions in detail, any optimization is premature.
I am just looking for fectors which make website soon and what we can do it to make it fast. This is kind of pre development research. I don't have any idea what html they'll use for it, but there must be some code tricks, tools or perticular option which we can use and could avoid to make it fast.
Some example that I have got from google is to avoid :
Too Many HTTP Requests:
Minimal Client-side Processing
Failure to leverage browser cache / local storage
Third-party widgets
Too many bytes
and Some we must use for best practise are::
Using HTML 5 for performance improvements (In detail)
Reducing the file size of HTML documents (In detail)
Speeding up JavaScript: Working with the DOM (In detail)
Minimizing browser reflow (In detail)
Optimizing caching(In detail)
Compressing your JavaScript with Closure Compiler (In detail)
Capturing and analyzing browser paint events using Page Speed Activity (In detail)
Web metrics: Size and number of resources(In detail)
Optimizing JavaScript code (In detail)
Optimizing web graphics (In detail)
Optimizing OpenSocial gadgets (In detail)
Prefetching resources (In detail)
Using web accelerator (In detail)
Use a CDN(In detail)
Add an Expires header
Put stylesheets at the top and scripts at the bottom
Avoid CSS expressions
Reduce DNS lookups
Avoid redirects
Configure ETags
Make AJAX cacheable
Akhilesh Trivedi wrote:Is it pure HTML? then whatever you have mentioned like JS and graphics should be considered, thing would different if page is dynamic. You would need to consider server side delays which is another big deal in itself.
not sure about the version it may be 4 or 5, but they'll use HTML for sure
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35246
7
posted
0
Start by using tools such as YSlow and PageSpeed. Plus, measure where the time goes - network, web server, DB server, rendering, ...
You have far more than you need to start. Follow @Ulf's advice, use existing technology to measure the current performance. Its pointless to speed up things that are not slow, and you can't know until you measure.
I come to know some of general aspects for it like avoiding JS, graphics, widgets etc etc. but is there any ways, which we could change in our html coding by which pages we can explore web pages faster? HTML 5 is also an option but what what are the other option in it to make it more better.
Why would you avoid JS ? Why do you think loading pages written on HTML 5 is faster ?
It sounds to me like you have a hammer and you're looking for nails that may not exist.
I come to know some of general aspects for it like avoiding JS, graphics, widgets etc etc. but is there any ways, which we could change in our html coding by which pages we can explore web pages faster? HTML 5 is also an option but what what are the other option in it to make it more better.
Why would you avoid JS ? Why do you think loading pages written on HTML 5 is faster ?
It sounds to me like you have a hammer and you're looking for nails that may not exist.
Hello Deepak... Mentioned ain't my aspects. I did google for it and found out these facts. I really appreciate if you help me to correct it.