Results 1 to 2 of 2
-
18th Sep 2012, 04:27 AM #1OPMember
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>
Thanksbeebee 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
-
18th Sep 2012, 02:38 PM #2Member
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.
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
need imagehost support caching
By Proaudiozone.info in forum WordpressReplies: 3Last Post: 10th Oct 2012, 10:47 AM -
.htaccess - Leverage browser caching image
By torrfriend in forum Technical Help Desk SupportReplies: 0Last Post: 6th Oct 2012, 02:24 PM -
Optimizing APC Caching
By m1mi.dan0s in forum Webmaster DiscussionReplies: 3Last Post: 3rd Oct 2012, 08:37 AM -
[PHP] Twitter Feed Reader + Caching
By Whoo in forum Web Development AreaReplies: 0Last Post: 10th Feb 2012, 06:54 PM -
Php: external caching script
By iMaarten in forum Web Development AreaReplies: 6Last Post: 2nd Oct 2011, 10:16 PM
themaCreator - create posts from...
Version 3.22 released. Open older version (or...