MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
some php files caching and some are not
Current time: 10-22-2020, 02:20 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
some php files caching and some are not
11-22-2012, 02:23 PM
Post: #1
some php files caching and some are not
I guess I'm missing something, obviously.

I have in the .htaccess file to cache css & js files:

# Enable expiration control
ExpiresActive On

# Default expiration: 1 month after request
ExpiresDefault "access plus 1 month"

# CSS and JS expiration: 1 week after request
ExpiresByType text/css "access plus 1 week"
ExpiresByType application/javascript "access plus 1 week"
ExpiresByType application/x-javascript "access plus 1 week"

However, the test results show browser caching is 24hrs, and there is no css & js caching:

http://www.webpagetest.org/performance_o...1&cached=0

DO I not have my .htaccess file correct? Is this set in the cPanel php EZconfig menu?

-Jay
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
some php files caching and some are not - jamesdeanreeves - 11-22-2012 02:23 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)