• Resolved Insect Trojan

    (@insecttrojan)


    hello google says me

    A long cache lifetime can speed up repeat visits to your page. Learn more.
    WordPress
    Read about Browser Caching in WordPress.
    URL
    Cache TTL
    Transfer Size
    https://www.insect.gr
    57 m 28 s
    130 KiB

    on the HTML & XML i have disable the Set expires header
    Set the expires header to encourage browser caching of files.
    3600 second. Do i need to enable it and put it for 1 month ? thanks a lot

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @insecttrojan

    Thank you for reaching out and I am happy to assist you with this.
    For the HTML&XML the suggested value for Expires header and cache-control header is 3600s, ad this is the default in the W3TC settings. This is the best practice for user experience as every hour, new content will be fetched from the server if changed.
    So you should re-enable this in W3TC settings and use the default value.
    For static files like JS and CSS, the recommended value is 31536000s and this is also the default in W3TC settings.

    If you are not changing content on your website frequently, you can increase the HTML&XML Expires header and cache-control value.

    Thanks!

    Thread Starter Insect Trojan

    (@insecttrojan)

    hello i enable the HTML&XML cache for 3600 but it still says me Serve static assets with an efficient cache policy . something i am doing wrong can you please help me ? thanks a lot

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Browser Caching HTML & XML’ is closed to new replies.