Grow your CSS skills. Land your dream job.

How to Speed Up my Web site?

  • # December 29, 2009 at 3:10 am

    hi guys,
    i am new on this forum.
    please first have a look on this web site
    http://www.realtechsynergy.com
    i know it’s not good design.
    i just want to make that web site faster and i want it to be good looking
    i just need your suggestions.

    Thanks,
    Vijay

    # December 29, 2009 at 1:02 pm

    There are lots of ways actually.

    • Optimize your images using a service such as Smushit or PunyPNG[/*:m]
    • Use Gzip compression when serving up your text content, such as CSS, Javascript, HTML.[/*:m]
    • Enable browser caching of your page items by setting expires headers and cache control via .htaccess[/*:m]
    • Minify your Javascript/CSS[/*:m]
    • And loads more![/*:m][/list:u]

      Also, I suggest that you try and place all of your Javascript at the bottom of the page if you can. This isn’t possible with all scripts, but most are fine being moved to the footer.

    # December 29, 2009 at 11:05 pm

    I know a good way to speed up your blog, just limit the number of posts per page from 10 to 5. Your website/blog will be fast again.

    You can also use a plugin called super cache. Search for it at WordPress.

    # December 30, 2009 at 12:20 am

    Enable browser caching of your page items by setting expires headers and cache control via .htaccess
    Can anyone please explain me above line
    give me an example if possible :)

    # December 30, 2009 at 1:05 pm

    See this post from Jeff Star: http://perishablepress.com/press/2006/0 … icks/#per7

    # December 30, 2009 at 11:29 pm

    thank you so much

    # January 3, 2010 at 8:26 am

    am a bit confused by the .htaccess tricks..

    Do you just copy and paste

    Code:
    # cache images and flash content for one month

    Header set Cache-Control “max-age=2592000″

    # cache text, css, and javascript files for one week

    Header set Cache-Control “max-age=604800″

    # cache html and htm files for one day

    Header set Cache-Control “max-age=43200″

    # implement minimal caching during site development

    Header set Cache-Control “max-age=5″

    # explicitly disable caching for scripts and other dynamic files

    Header unset Cache-Control

    # alternate method for file caching
    ExpiresActive On
    ExpiresDefault A604800 # 1 week
    ExpiresByType image/x-icon A2419200 # 1 month
    ExpiresByType application/x-javascript A2419200 # 1 month
    ExpiresByType text/css A2419200 # 1 month
    ExpiresByType text/html A300 # 5 minutes
    # disable caching for scripts and other dynamic files

    ExpiresActive Off

    In to your .htacess file?

    # January 4, 2010 at 12:14 am

    thank you so much

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".