• Hello.

    I’m using browse caching and caching the wp-admin page. I added “expr=%{REQUEST_URI} !~ m#^/wp-admin” but still caching. What’s wrong here? thanks my htaccess:

    <filesMatch ".(ico|pdf|flv|jpg|svg|jpeg|png|gif|js|css|swf)$">
        Header set Cache-Control "max-age=604800, must-revalidate" "expr=%{REQUEST_URI} !~ m#^/wp-admin#"
    </filesMatch>
    ## 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 text/html "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 ##
    • This topic was modified 5 years, 3 months ago by devrekli.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Tellyworth

    (@tellyworth)

    This is a question for an Apache support forum.

    What is it that you are trying to achieve by disabling caching for wp-admin?

    Thread Starter devrekli

    (@devrekli)

    @tellyworth

    I delete the comments, see them again after.

    I change the settings, I see old settings again after.

    I’m posting a new article, but I can’t see it in admin.

    ….

    I have to refresh the page many times. The page gets better when refreshed.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘I don’t want wp-admin cached?’ is closed to new replies.