• hi,

    I’m trying to optimize my website.
    I use a tool from Chrome (Developer Tools > Page Speed) and appears: “Leverage browser caching” and a lot of files whit just 30 minutes of cache.

    I tried change the htaccess, putting:

    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType image/jpg "access 1 year"
    ExpiresByType image/jpeg "access 1 year"
    ExpiresByType image/gif "access 1 year"
    ExpiresByType image/png "access 1 year"
    ExpiresByType text/css "access 1 month"
    ExpiresByType application/pdf "access 1 month"
    ExpiresByType text/x-javascript "access 1 month"
    ExpiresByType application/x-shockwave-flash "access 1 month"
    ExpiresByType image/x-icon "access 1 year"
    ExpiresDefault "access 2 days"
    </IfModule>

    but i didn’t obtain any results.

    Anybody has a clue in what i can do to change this cache time?

    sorry for my terrible english!
    thanks,
    vilanova

Viewing 4 replies - 1 through 4 (of 4 total)
  • This plugin will do that all for you
    http://wordpress.org/extend/plugins/w3-total-cache/

    Thread Starter vilanova

    (@vilanova)

    thanks a lot for your reply.
    But when i activate this plugin I got this warnings:

    It appears Page Cache URL rewriting is not working. If using apache, verify that the server configuration allows .htaccess or if using nginx verify all configuration files are included in the configuration.

    The required directives for fancy permalinks could not be detected, please confirm they are available: Creating and editing

    and no changes at all in the cache time… How can I fix it?

    thanks a lot,
    thais

    Probably a conflict with another plugin.

    Or, server settings, set them.

    Thread Starter vilanova

    (@vilanova)

    ok, thanks. I will take a look

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘cache optimization’ is closed to new replies.