• Resolved wordpresser

    (@mohammedays)


    Hello there, I set the browser cache with the plugin “keep the default” for css and js at 31536000 and Set expires header checked. for HTML and XML Set expires header unchecked and at 3600. I am just using default. and for clouldflare Browser Cache TTL set to respect the origin headers. before changing clouldflare Browser Cache TTL was 4 hours.

    now after the changes, I notice clouldflare is not caching most of the request starting from the day I changed the settings. plese take a look.

    View post on imgur.com

    and here is the settings for the w3tc:

    1-

    View post on imgur.com

    2-

    View post on imgur.com

    3-

    View post on imgur.com

    There must be something wrong, just the same day I changed the settings clouldflare cache for the requests and for bandwidth has declined. what should I do in this case?  Brotli in clouldfalre is enabled

    and please let me know how to buy you a cup coffee. Thank you.

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

    (@vmarko)

    Hello @mohammedays

    Thank you for reaching out and I am happy to assist you with this. The “Uncached” Requests are responses fetched from your origin server. This means that the Origin is taking care of the expires header cache control etc.
    If you check the source, every file should be showing the server: Cloudflare, which means that the entire website is served from Cloudflare. And since you had to change the nameservers, this is exactly what this does.
    The statistics are a bit misleading and there is nothing to worry about. If you want, you can always use Cloudflare for Browser Cache TTL instead of W3TC.

    Once again this does not mean that the assets are not cached on Cloudflare, it means that the origin is taking care of the Browser Cache headers.

    I hope this helps!

    Thanks!

    Thread Starter wordpresser

    (@mohammedays)

    Is there a way to check that it is actually working?

    Thank you

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @mohammedays

    Sure! If you inspect the source of your website, check the headers for any files and you will see the following header

    server: cloudflare

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘browser cache setting and clouldflare’ is closed to new replies.