• Resolved qut1

    (@qut1)


    Hello team,

    Thanks again for this plugin.

    I had a cache problem on my site. My normal pages never updated, the same for visitors. You had to clear the browser cache for example to see new articles arrive on the home page.

    I found the problem and it comes from the line “ExpiresByType text / html” access 3 month “in my .htacces

    Once the line was removed, my site was finally revived. Each time we consult the home, new articles finally appear!

    So my question is, can I remove all of the following lines from my .htacces file ?

    `
    # AMPFORWPLBROWSERCSTART Browser Caching
    <IfModule mod_expires.c>
    ExpiresActive On
    AddType application/vnd.ms-fontobject .eot
    AddType application/x-font-ttf .ttf
    AddType application/x-font-opentype .otf
    AddType application/x-font-woff .woff
    AddType image/svg+xml .svg
    ExpiresByType application/vnd.ms-fontobject “access 1 year”
    ExpiresByType application/x-font-ttf “access 1 year”
    ExpiresByType application/x-font-opentype “access 1 year”
    ExpiresByType application/x-font-woff “access 1 year”
    ExpiresByType image/svg+xml “access 1 year”
    ExpiresByType image/webp “access 1 year”
    ExpiresByType image/gif “access 1 year”
    ExpiresByType image/jpg “access 1 year”
    ExpiresByType image/jpeg “access 1 year”
    ExpiresByType image/png “access 1 year”
    ExpiresByType image/x-icon “access 1 year”
    ExpiresByType text/css “access 3 month”
    ExpiresByType text/javascript “access 3 month”
    ExpiresByType text/html “access 3 month”
    ExpiresByType application/javascript “access 3 month”
    ExpiresByType application/x-javascript “access 3 month”
    ExpiresByType application/xhtml-xml “access 3 month”
    ExpiresByType application/pdf “access 3 month”
    ExpiresByType application/x-shockwave-flash “access 3 month”
    ExpiresDefault “access 3 month”
    </IfModule>
    # END Caching AMPFORWPLBROWSERCEND

    Thx to you ! ??

    • This topic was modified 3 years ago by qut1.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘The plugin cache also acts on non-amp pages’ is closed to new replies.