Leverage browser caching problem

#79652
  • Resolved IN ASIA TRAVEL
    Rank Math free

    Hi,
    Analyzing my website on GTmetrix I see numerous resources jpg whit caching 2 hours even though in .htaccess every resources has ExpiresByType at least 1 month.

    Any suggestions on regards ?

    Thank you
    Best regards,

Viewing 6 replies - 1 through 6 (of 6 total)
  • Alberto
    Rank Math business

    Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    Could you share (in the Sensitive Data section) the affected URLs so we can check it and try to help you?

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello,

    Those issues are from external scripts like MailMunch and Google Tag Manager/Analytics.

    There is nothing you can do to fix that since they are external scripts and you cannot cache them in any way.

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Hi,

    Thank you for the reply.
    I partially fixed the problem adding

    # One month for most static assets
    <filesMatch “.(css|jpg|jpeg|png|gif|js|ico)$”>
    Header set Cache-Control “max-age=2628000, public”
    </filesMatch>

    to .htaccess.
    The errors went from 69 to 14.

    Thank you

    Hello,

    That is why we only saw the external files.

    If you need help with anything else, please open a new support ticket here so we can help.

    We are always here for assistance.

Viewing 6 replies - 1 through 6 (of 6 total)

The ticket ‘Leverage browser caching problem’ is closed to new replies.