Current time: 07-21-2019, 11:11 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
First Byte Time and Specify a cache validator
10-21-2011, 12:18 AM
Post: #11
RE: First Byte Time and Specify a cache validator
Well, right there, your last 2 rules:

Code:
<ifModule mod_headers.c>
Header unset ETag
</ifModule>
FileETag None
<ifModule mod_headers.c>
Header unset Last-Modified
</ifModule>

You are explicitly removing the Last-Modified and ETag headers. At a minimum you should remove the last rule that removes the Last-Modified header. ETag is up to you (doesn't really add much value but it won't hurt in your config either).

This could also be a problem:

Code:
<filesMatch "\\.(js)$">
Header set Cache-Control "max-age=2160000, private"
</filesMatch>

It is telling intermediate proxies (like MaxCDN) to not cache the content. Change the private to public and see if it gets better.
Visit this user's website Find all posts by this user
Quote this message in a reply
10-22-2011, 02:29 AM
Post: #12
RE: First Byte Time and Specify a cache validator
it worked thank you very much!
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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