Improve your website performance

in Articles / 3 Comments

Hi friends, recent days I have worked on website performance improvement techniques. I usually follow the below steps to improve the your website performance.

Improve your website performance by Anil Kumar Panigrahi

Improve your website performance by Anil Kumar Panigrahi

Step 1: First create phpinfo file and run the file in browser

<?php
    echo phpinfo();
?>

Then we will get the list of loaded modules in the server.

Step 2. Check that mod_rewrite is enable or not.

If not enable ask host provider to enable it ( Shared hosting server )
In cloud host go to php.ini and enable it and restart the apache.

Step 3. Check CURL package is enable or not.

if not enable ask host provider to enable it.

Step 4. Few basic steps to follow when doing website

  • All JavaScript files needs to be included in the footer section of the page.
  • All CSS files needs to be included in the header section of the page.
  • Compress the CSS files
  • Compress JavaScript files
  • Try to use the Google/Microsoft server’s jQuery files ( for CDN purpose )
  • Use compress images
  • Add expire dates for all JavaScript, CSS and Images
  • Remove ETags for all JavaScript, CSS and Images
  • Use gzip to compress complete page
  • Avoid ‘*’ in the MySql queries ‘select * from table’
  • Avoid unnecessary variables assigning in the page
  • Avoid ‘@’ symbol before the variable to avoid warning messages

PHP Web developer with 6 years of experience in Web Development, Integrating web designing, Testing and Deployment , and developed medium level to large scale websites using PHP , and as blogger maintaining technical blog Contact : php.anil@gmail.com

Discussion 3 Comments

  1. Karan Singh

    thanks for shearing such a wonderful article with us, after using your ideas i find that my website is increased. One thing that they are all very easy method every one use this methods. thanks for shearing.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>