• Resolved hirschferkel

    (@hirschferkel)


    Hi there,

    I use WP-Optimize and activated the cache. I’m irritated, because Page Speed Insights from Google state in line 10:

    <!-- WP Optimize page cache - https://getwpo.com - page NOT cached -->

    Any idea how to fix that?

    • This topic was modified 8 months, 4 weeks ago by hirschferkel.
    • This topic was modified 8 months, 4 weeks ago by hirschferkel.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support vupdraft

    (@vupdraft)

    Hi,

    I notice your are on nginix server

    Do you have nginx cache enabled?

    https://www.plesk.com/kb/support/how-to-enable-nginx-caching-in-plesk/

    Thread Starter hirschferkel

    (@hirschferkel)

    I guess I haven’t … I will check this out. Thanks for your quick answer …

    Thread Starter hirschferkel

    (@hirschferkel)

    So I activated nginx and it seems to work.

    Actually static browser caching still does not work. .htaccess is writen with WP-Optimize code, but pagespeed.web.de states, that there is no chache-TTL for static images.

    Do you know how to fix this?

    BEGIN WP-Optimize Browser Cache
    ExpiresActive On ExpiresByType text/css "access 26 days" ExpiresByType text/html "access 26 days" ExpiresByType image/gif "access 26 days" ExpiresByType image/png "access 26 days" ExpiresByType image/jpg "access 26 days" ExpiresByType image/jpeg "access 26 days" ExpiresByType image/webp "access 26 days" ExpiresByType image/x-icon "access 26 days" ExpiresByType application/pdf "access 26 days" ExpiresByType application/javascript "access 26 days" ExpiresByType text/x-javascript "access 26 days" ExpiresByType application/x-shockwave-flash "access 26 days" ExpiresDefault "access 26 days"
    Header set Cache-Control "public" Header set Cache-Control "public" Header set Cache-Control "private" Header set Cache-Control "private, must-revalidate" Disable ETag
    FileETag None END WP-Optimize Browser Cache

    • This reply was modified 8 months, 3 weeks ago by hirschferkel.
    Thread Starter hirschferkel

    (@hirschferkel)

    O.k. I did not know, that static cache with Nginx will disable the .htaccess headers but use caching, still. So everything works fine.

    The system is a mixture with Nginx and Apache.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Website Cache activated – header states it is not cached?’ is closed to new replies.