Firebug, Page Speed, htaccess.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • tbolt
    Private First Class

    • Oct 2009
    • 7

    Firebug, Page Speed, htaccess.

    I have been using Firebug on my site http://www.lsrinmin.co.uk on the leverage browser caching, it say's to add expiration dates in the .htaccess file, is this file somewhere in the Cpanel, or do I have to create it, if I have to create it where would I place it when finished.
  • zuriatman
    Moderator

    • Sep 2006
    • 3025

    #2
    Re: Firebug, Page Speed, htaccess.

    The .htaccess file is in cPanel.
    www.siapamoyanganda.com/
    Malaysian Family Tree Website From the
    State of Johor.

    HAPPY ARE THOSE WHO DREAM DREAMS AND ARE READY TO PAY THE PRICE TO MAKE THEM COME TRUE.

    Comment

    • CarbonTerry
      Major General

      • Oct 2005
      • 2620

      #3
      Re: Firebug, Page Speed, htaccess.

      You can also access thru BV FTP Manager.
      It will be in the public_html directory or in an Add On directory.
      CarbonTerry
      Semper Fi
      Still green...still mean......just not as lean

      Red Hawk Archery
      Zone 5 Photo
      My USMC

      Comment

      • CarbonTerry
        Major General

        • Oct 2005
        • 2620

        #4
        Re: Firebug, Page Speed, htaccess.

        Here's the code to add to your htaccess file for a one year expiration.

        # 1 YEAR
        <FilesMatch "\.(ico|pdf|flv|jpeg|gif|swf|png|jpg)$">
        Header set Cache-Control "max-age=29030400, public"
        </FilesMatch>
        CarbonTerry
        Semper Fi
        Still green...still mean......just not as lean

        Red Hawk Archery
        Zone 5 Photo
        My USMC

        Comment

        Working...
        X