• Resolved kwasiato

    (@kwasiato)


    i tested How to add Expires headers with WP-Optimize.

    It didn’t work on my apache vps. my static header settings was marked as enabled…

    so it made me giveup on the script because i saw no hope.. Do you think im right to give up? or is there something i missed and i am supposed to try again and make it work on pingdom pagespeed tests?

    What i did as make-shift solution outside this??

    I manually adding this code below to by htaccess to add expires headers.. it improved the situation but it was still just a “D” in that category at pingdom pagespeed test

    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 image/svg “access 1 year” ExpiresByType text/css “access 1 month” ExpiresByType application/pdf “access 1 month” ExpiresByType application/javascript “access 1 month” ExpiresByType application/x-javascript “access 1 month” ExpiresByType application/x-shockwave-flash “access 1 month” ExpiresByType image/x-icon “access 1 year” ExpiresDefault “access 2 days” EXPIRES HEADER CACHING

    • This topic was modified 2 months, 3 weeks ago by kwasiato.
Viewing 1 replies (of 1 total)
  • Plugin Support wpmansour

    (@wpmansour)

    Can you check your Apache configuration file (usually httpd.conf or apache2.conf) and see if the following line is set correctly?

    AllowOverride All

    This line allows .htaccess files to override the default settings. If it’s not set to All, that could be why the Expires headers aren’t working. Can you confirm if this is set correctly?

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