Activity Stream
48,167 MEMBERS
6772 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 2 of 2
  1.     
    #1
    Member

    Default Some help with browser caching

    Trying to optimize my vb board, added this code to htaccess in attempt to cache a specific folder and type for 1 month. When I try though, I get internal server error.

    Code: 
    <Directory "/public_html/forum/images/forumicons">
        <FilesMatch "\.(gif|jpg|png)$">
    	<IfModule mod_expires.c>
    	ExpiresActive On
            ExpiresDefault "access plus 1 month"
    	</IfModule>
        </FilesMatch>
    </Directory>
    What did I do wrong?

    Thanks
    beebee Reviewed by beebee on . Some help with browser caching Trying to optimize my vb board, added this code to htaccess in attempt to cache a specific folder and type for 1 month. When I try though, I get internal server error. <Directory "/public_html/forum/images/forumicons"> <FilesMatch "\.(gif|jpg|png)$"> <IfModule mod_expires.c> ExpiresActive On ExpiresDefault "access plus 1 month" </IfModule> </FilesMatch> </Directory> Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Member
    I think its to do with the <Directory> bit im not 100% you can specify it like that.

    If you have root access, why not install memcache.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. need imagehost support caching
    By Proaudiozone.info in forum Wordpress
    Replies: 3
    Last Post: 10th Oct 2012, 10:47 AM
  2. .htaccess - Leverage browser caching image
    By torrfriend in forum Technical Help Desk Support
    Replies: 0
    Last Post: 6th Oct 2012, 02:24 PM
  3. Optimizing APC Caching
    By m1mi.dan0s in forum Webmaster Discussion
    Replies: 3
    Last Post: 3rd Oct 2012, 08:37 AM
  4. [PHP] Twitter Feed Reader + Caching
    By Whoo in forum Web Development Area
    Replies: 0
    Last Post: 10th Feb 2012, 06:54 PM
  5. Php: external caching script
    By iMaarten in forum Web Development Area
    Replies: 6
    Last Post: 2nd Oct 2011, 10:16 PM

Tags for this Thread

BE SOCIAL