Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter dgambill

    (@dgambill)

    I got the update this morning, and what I’ve done for the time being is network activated it and then added this code to the .htaccess:

    ## EXPIRES CACHING ##
    <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 1 month"
    </IfModule>
    ## EXPIRES CACHING ##

    My Google Pagespeed score jumped from 75 to 86 on my child site. My parent site is still in the 70’s, but I think that has to do with the theme than caching.

    Thread Starter dgambill

    (@dgambill)

    I have a subdomain install, and I guess there in lies the problem, as I would have no idea how to modify the recommended rules. If I activate it on each site instead of network wide, would I just copy the rules for each site to the .htaccess?

Viewing 2 replies - 1 through 2 (of 2 total)