Results 1 to 5 of 5

Thread: 5 Ways to Speed Up Your Website

  1. #1
    Join Date
    Nov 2009
    Posts
    76,596

    Default 5 Ways to Speed Up Your Website

    Clean code: Unfortunately, the code produced by your content management system (CMS) is rarely clean. Learn how itís supposed to look and then clean it up, or request that your webmaster or designer do this.

    CSS (Cascading Style Sheets): Page formatting can be written as HTML, but that gets tedious, repetitive and messy. CSS provides a simple set of style codes to incorporate into HTML documents.

    CSS files: CSS belongs in its own stylesheet files (.css files), not embedded in the HTML coding. A simple command, usually in the page HEAD section, tells browsers which .css file to load.

    Multiple CSS stylesheets: Your website probably contains a few design elements that are identical across the entire site, and then several different types of pages with varying styles. Create one .css file with the conserved style elements, and then individual files for each different type of page. Finally, instruct each page to load two .css files: The one with the conserved styles and the one with its specific style.

    JavaScript files: When JavaScript is embedded in a page, browsers have to download it whenever they open a new page, which takes time. Instead, put it into a .js file and put a command in each pageís HEAD to load it, just like your .css file. Now a browser will download it once and cache it, making subsequent page loads faster.

    Even if you use a CMS, learning how to code properly will allow you to make the tweaks necessary to speed up your website and provide a better experience for the potential clients visiting your site.


    Keywords: Clean code,Cascading Style Sheets,CSS files,design elements , JavaScript,HTML coding, A simple command, HEAD section,potential clients ,5 Ways to Speed Up Your Website



  2. #2
    Join Date
    Jul 2011
    Posts
    5

    Cool

    yes, these are very important points.

  3. #3
    Join Date
    Jan 2012
    Posts
    18

    Default

    Any links to good java script pages? Interested in learning Java Script - does anyone now any good tutorials?
    Tom

  4. #4
    Join Date
    Jan 2012
    Posts
    197

    Default

    Nice points.

  5. #5
    Join Date
    Feb 2012
    Posts
    33

    Default

    By enabling use of CSS in design makes your code compact and easily manageable.Thanks for sharing a nice information .

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •