www.webdeveloper.com
Results 1 to 2 of 2

Thread: Browser Caching

  1. #1
    Join Date
    Dec 2008
    Posts
    51

    Browser Caching

    At the suggestion of Google Page Speed I recently enabled broswer chaching for my site using the following general htaccess rule:

    Code:
    # Turn on Expires and set default to 0
    ExpiresActive On
    ExpiresDefault A0
     
    # Set up caching on media files for 1 year (forever?)
    <FilesMatch "\.(flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav|swf|js|png)$">
    ExpiresDefault A29030400
    Header append Cache-Control "public"
    </FilesMatch>
    Of course, I used shorter times for other files, but that is the general idea. However, I'm starting to be concerned that this kind of thing is starting to cause problems with people who use IE and visit my site. I'm not sure if its actually causing problems, but I am wondering if anyone has had experience with this kind of thing causing browser related problems. For example, can this cause browsers to load the page slower?

    Also, I want to turn this off so I can see if it is the source of the problem I am trying to solve. Does anyone know how to turn this off? Do I just delete it from the htaccess file or do I need a special command?

    Thanks!

  2. #2
    Join Date
    Aug 2007
    Posts
    3,767
    Just delete the stuff from the .htaccess file. It'll probably take a while to propagate, I'm not 100&#37; sure how long. However, I don't think that caching is causing your problems, but since you don't specify, I don't know.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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



Recent Articles