Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Dipak C. Gajjar

    (@dipakcg)

    You can’t set expire headers for third party scripts such as Google Fonts, Google Maps etc. I hope you’re aware how set expire headers work.

    Could you share your site url to look further?

    Plugin Author Dipak C. Gajjar

    (@dipakcg)

    Since I haven’t heard back from you, I’m going to go ahead and mark this topic as ‘Resolved’.

    Hello, i have the same issues, with a lot of image files which is in the wp-content/uploads folder.
    So this is not a problem with a third party script.

    Plugin Author Dipak C. Gajjar

    (@dipakcg)

    @singfa, Could you add the following code into .htaccess file, located under root directory of your WordPress installation, and let me know whether this fixes the issue?

    <FilesMatch "(?i)^.*\.(ico|flv|jpg|jpeg|png|gif|js|css|woff)$">
    ExpiresActive On
    ExpiresDefault A2592000
    </FilesMatch>

    I look forward to hearing your comments.

    Added the code but nothing changed.

    …/css/lib/typicons/src/font/typicons.woff (4 hours)
    …s/css/lib/vc-entypo/fonts/vc_entypo.woff (4 hours)
    …/…ider/admin/assets/images/transparent.png (4 hours)
    …/…evslider/public/assets/assets/loader.gif (4 hours)
    …/…volution.extension.layeranimation.min.js (4 hours)
    …/wp-content/uploads/2016/10/AdMob.png (4 hours)
    …/wp-content/uploads/2016/10/Audio.png (4 hours)
    …/…ploads/2016/10/Contact-Pages-348×350.png (4 hours)
    …/…oads/2016/10/Custom-Pages-150×[email protected] (4 hours)
    …/…tent/uploads/2016/10/Design1-500×237.png (4 hours)
    …/…tent/uploads/2016/10/Design2-500×219.png (4 hours)
    …/…wp-content/uploads/2016/10/Discounts.png (4 hours)
    …/wp-content/uploads/2016/10/Fan-Wall.png (4 hours)
    …/wp-content/uploads/2016/10/Folders.png (4 hours)
    …/wp-content/uploads/2016/10/Forms.png (4 hours)
    …/…wp-content/uploads/2016/10/HTML-code.png (4 hours)

    and many others like this remain in the Leverage browser caching optimization issues on pagespeed insights…

    I read somewhere that it might also be due to cloudflare. I tried to disable all caches in cloudflare, purge all cached files and enable development mode but without any positive results.

    • This reply was modified 7 years, 9 months ago by singfa.
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Expiry dates not set for all headers’ is closed to new replies.