Apache snippets

Discussion in 'General' started by BigJens, Aug 7, 2015.

  1. BigJens

    BigJens New Member

    Hi!
    I pasted this snippet in my Apache directives:
    Code:
    <FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$">
    
    Header set Cache-Control "max-age=3024000, public"
    </FilesMatch>
    I'm checking my webpage now with Google Page Speed and GTMetrix and I still get a notification about the browser caching:
    Code:
    The following cacheable resources have a short freshness lifetime. Specify an expiration at least one week in the future for the following resources:
    
    http://domain.com/images/banner/0.jpg (expiration not specified)
    http://domain.com/images/hglinks.png (expiration not specified)
    http://domain.com/images/hgoben.png (expiration not specified)
    http://domain.com/images/jpg_klein/start.jpg (expiration not specified)
    ....
    Where is the error here?
    Thanks in advance.
    J.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Did you install and enable the apache header module? This module is not enabled by default in apache.
     
  3. BigJens

    BigJens New Member

    You are right! The apache header module wasn't enabled. Thanks for the help.
     

Share This Page