WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Plugin: SEO Ultimate] no mod_expires (3 posts)

  1. techotronic
    Member
    Posted 4 years ago #

    Hi,
    unfortunately, my provider does not install mod_expires for my apache installation.
    Therefore, no expiration date is added for e.g. the minified CSS and JS files:

    <IfModule mod_expires.c>
        ExpiresActive On
        ExpiresByType text/css M86400
        ExpiresByType application/x-javascript M86400
    </IfModule>
    <IfModule mod_headers.c>
        Header set Pragma public
        Header set X-Powered-By "W3 Total Cache/0.8.5.2"
        Header set Vary "Accept-Encoding"
        Header append Cache-Control "public, must-revalidate, proxy-revalidate"
    </IfModule>

    Could you please change the default .htaccess to:

    <IfModule mod_headers.c>
        Header set Pragma public
        Header set X-Powered-By "W3 Total Cache/0.8.5.2"
        Header set Vary "Accept-Encoding"
        Header set Cache-Control "max-age=2592000, public, must-revalidate, proxy-revalidate"
    </IfModule>

    Since the files are considered to be static cacheable, algorithms like the Google Pagerank want the files to be cacheable for 30 days, shorter periods of time lead to a decrease of the score.

    I already changed my .htaccess file like I described above, but SEO Ultimate always overwrites it...

    Best regards,
    Arne

    http://wordpress.org/extend/plugins/seo-ultimate/

  2. John
    Member
    Posted 4 years ago #

    Hi technotronic,

    SEO Ultimate doesn't make any automatic changes to your htaccess. It only provides a File Editor that makes it easier for you to make manual changes.

    - John

  3. techotronic
    Member
    Posted 4 years ago #

    Hi,
    you are totally right. I wanted to write this Topic for W3 total cache and not SEO Ultimate.

    I am sorry for any inconvenience.

    Best regards,
    Arne

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags