• Resolved mahyulan

    (@mahyulan)


    Under performance optimization in the features of your plugin you write that “Add Expires Headers” is integrated.

    But if I test my site with Pingdom or GTMatrix or another website speed testing tool, they recommend to add these headers.

    So are they implemented in a different way?

    And are they improving the website speed?

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

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Emre Vona

    (@emrevona)

    can you make sure that the browser caching rules have been added into the htaccess file please?

    Thread Starter mahyulan

    (@mahyulan)

    This is what I could find in the htaccess file:

    <ifModule mod_headers.c>
    FileETag None
    Header unset ETag
    Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
    Header set Pragma "no-cache"
    Header set Expires "Mon, 29 Oct 1923 20:30:00 GMT"
    </ifModule>
    Plugin Author Emre Vona

    (@emrevona)

    I am talking about the following rules.

    # BEGIN LBCWpFastestCache
    <FilesMatch "\.(webm|ogg|mp4|ico|pdf|flv|avif|jpg|jpeg|png|gif|webp|js|css|swf|x-html|css|xml|js|woff|woff2|otf|ttf|svg|eot)(\.gz)?$">
    <IfModule mod_expires.c>
    AddType application/font-woff2 .woff2
    AddType application/x-font-opentype .otf
    ExpiresActive On
    ExpiresDefault A0
    ExpiresByType video/webm A10368000
    ExpiresByType video/ogg A10368000
    ExpiresByType video/mp4 A10368000
    ExpiresByType image/avif A10368000
    ExpiresByType image/webp A10368000
    ExpiresByType image/gif A10368000
    ExpiresByType image/png A10368000
    ExpiresByType image/jpg A10368000
    ExpiresByType image/jpeg A10368000
    ExpiresByType image/ico A10368000
    ExpiresByType image/svg+xml A10368000
    ExpiresByType text/css A10368000
    ExpiresByType text/javascript A10368000
    ExpiresByType application/javascript A10368000
    ExpiresByType application/x-javascript A10368000
    ExpiresByType application/font-woff2 A10368000
    ExpiresByType application/x-font-opentype A10368000
    ExpiresByType application/x-font-truetype A10368000
    </IfModule>
    <IfModule mod_headers.c>
    Header set Expires "max-age=A10368000, public"
    Header unset ETag
    Header set Connection keep-alive
    FileETag None
    </IfModule>
    </FilesMatch>
    # END LBCWpFastestCache
    Thread Starter mahyulan

    (@mahyulan)

    These are not entered in the htaccess

    Should that have been done by the plugin?

    Plugin Author Emre Vona

    (@emrevona)

    yes. The “browser caching” option adds it. Can you save the settings of wp fastest cache again please?

    Thread Starter mahyulan

    (@mahyulan)

    I enabled that option and the headers are inserted now. Thanks for helping out.

    Plugin Author Emre Vona

    (@emrevona)

    You’re welcome ?? If you vote, it would make me so happy.

    https://www.ads-software.com/support/plugin/wp-fastest-cache/reviews/

    Thread Starter mahyulan

    (@mahyulan)

    Done! Keep up the good work!

    Plugin Author Emre Vona

    (@emrevona)

    thank you so much ??

    Thread Starter mahyulan

    (@mahyulan)

    Hello Emre

    Now I have another site where the expires headers are not recognized by Pingdom (stating they are not there). But I see them in the .htaccess

    How to solve?

    https://www.harmonybygala.es/

    Plugin Author Emre Vona

    (@emrevona)

    Everything is ok. Do not worry about it. Pingdom does not show the details. Here is the result of google.

Viewing 11 replies - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.