Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> Make Your Web Applications Faster
sid.calcutta
post Sep 6 2006, 03:14 AM
Post #1


Advanced Member
******

Group: Validating
Posts: 111
Joined: 28-January 06
Member No.: 10,917



With the advent of broadband connectivity, the websites are nowadays loading much more faster than the past without much optimisation. But at the same time, the visitors are probably looking for something more faster. They are not in a mood to wait for more than a few seconds to see the requsted url being loaded.
So, in view of this changing scenario one needs to optimise webpages so that they load faster.

So here is the brief guideline you may follow to make it load your webpages faster.

1. Load as much information as you can when a page loads for the first time. Use CSS to show/hide parts, instead of loading them afresh each time an url is requested.

2. Use Javascript and Ajax to load requested content.

As for example, you can check out how fast content can be refreshed in the home page of Rediff.com.

3. Disable the buttons and change their captions appearing in your webpage, once the user has clicked it. This will prevent them from clicking the same button repeatedly. Captions like 'requesting the server' will help them to understand what is going on.

CODE
<input type="button" value="Submit" onclick="this.value='Requesting the server...'; this.disabled='true'; return false;" />


4. You need not reload the entire content each time your visitor has requested for a specific information. You can use xmlHTTPRequest, to query the server for the piece of information requested by your visitor, and display it in the appropriate part of your webpage without reloading the entire webpage. This helps to load the pages really fast.

5. Import your CSS code from an external file instead of writing them directly in your webpages, so that it need not be loaded each time.

6. Make your CSS clean, delete redundant codes and for each selector in your CSS, try to use one line of code. You can try out this tool to do the task for you.

Hope this helps the newbies atleast.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. How To Make A Text Based Online Game Script ?(23)
  2. How Do I Make A RPG Battle System?(14)
  3. Online Multiplayer Game(16)
  4. Make Your Own FPS Game(32)
  5. Java Applets(5)
  6. How To Make Your Windows Look Like A Mac(22)
  7. How To Make A Good Sig Image!(6)
  8. Photoshop Tutorial: How To Make A Userbar For Signatures(35)
  9. How To Install Applications In Fedora(12)
  10. How To Make A CS 1.6 Map ?(15)
  11. How To Run A Proxy On a Web-Server?(20)
  12. Real Driving(24)
  13. How To Make Realistic Fire!(15)
  14. How To Make Windows Xp Faster(30)
  15. Looking For Linux(34)
  1. Powerpoint Based Games!(18)
  2. How To Make A PM (Personal Message) System?(4)
  3. Anybody Use Gimp? It's Free!(14)
  4. How To Make A Private Message System.(9)
  5. Make It Impossible To View Page Source(11)
  6. Anyone Willing To Make A Text-based Game With Me?(4)
  7. Make Money Online With Cashcrate - A Scam?(4)
  8. Is It Possible To Make Php Scripts Executed Without A Cron?(2)
  9. Center Update(5)
  10. How To Make Simple Animations In The Gimp(2)
  11. What Are The Ways To Make Your Poems Spread To The Audience?(3)
  12. Make Firefox Look Like Google Chrome(1)
  13. How To Make Both Windows Look Like Active At Same Time(7)


 



- Lo-Fi Version Time is now: 13th October 2008 - 04:19 PM