If you want to cache the Data in the user cache to avoid high traffic you could enable the cache, I choose for Images 60 Days and for Javascript and CSS 2 Days.

Edit: “/etc/apache2/apache2.conf”:


#cach control 60day
<FilesMatch ".(jpg|jpeg|gif)$">

Header set Cache-Control "max-age=5184000, public"


#cach control 2day
<FilesMatch ".(js|css)$">

Header set Cache-Control "max-age=172800, public"


Maybe this helps you: apache2 Invalid command ‘Header’, perhaps misspelled or defined by a module not included in the server configuration.

3 thoughts on “Apache-Cache”

  1. Hey there! Someone in my Myspace group shared this site with us so I came
    to look it over. I’m definitely loving the information. I’m book-marking and will be tweeting this
    to my followers! Exceptional blog and brilliant style and design.

  2. I really love your blog.. Great colors & theme. Did you create this site
    yourself? Please reply back as I’m trying to create my own personal
    site and would like to learn where you got this from
    or just what the theme is named. Cheers!

  3. Thanks for a marvelous posting! I genuinely enjoyed
    reading it, you can be a great author. I will make
    sure to bookmark your blog and will come back very soon. I want to encourage you to continue your great posts,
    have a nice morning!

Leave a Reply

Your email address will not be published.

four × 1 =