• Resolved rainelement

    (@rainelement)


    Hi to all!

    I’ve been reading lots of your threads and I saw a thread by AeroStar answered by Hristo Pandjarov related to the CF Full Page Caching.

    I have a WordPress/Woocommerce store, we’re hosted on SG, images via Image CDN /sirv.com/.

    Even I’ve red many articles I get a bit confused if I should enable CF Full Page Caching or no.

    Currently we have these two Rules in CF:
    1 https://www.minoar.com/wp-admin/*
    Browser Integrity Check: On, Browser Cache TTL: 30 minutes, Always Online: Off, Security Level: High, Cache Level: Bypass, Disable Apps, Disable Performance
    2 https://www.minoar.com/wp-content/uploads
    Browser Cache TTL: a year, Cache Level: Cache Everything, Edge Cache TTL: a month

    The CF Auto Minify is set for everything – JS, CSS, HTML
    The SG Optimizer plugin has Dynamic Caching & Memcached active, Minify is disabled for all – now I do not know if any of these setting interfere with each other.

    Having in mind the Woocommerce, should I remove the page rules and activate CF Full Page Caching? If yes, should I disable any of the settings in the SG Optimiser.

    Basically I am truly confused what would be the best recipe for this website.
    Any feedback will be immense for me at the moment.

    Thank you all!

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Hristo Pandjarov

    (@hristo-sg)

    SiteGround Representative

    We don’t use page rules because Cloudflare allow cache bypass on cookies only on their pro version. So we use workers. This means that your logged in users will see cached content.

    Delete all page rules and enable the full page caching through the option. That would work best especially for a woocommerce store.

    Thread Starter rainelement

    (@rainelement)

    Hi Hristo,

    Thank you so much for the quick feedback! I will enable the full page caching.

    Could you please let me know if I should change any settings on the SG Optimizer plugin? Should I enable minify css/js/html from the plugin when I activate the Full Page caching?

    I also do a lot of CSS changes and modification to the website, how would these changes show to end users? Will the ‘Purge Everything’ do the trick when full page caching is active?

    Thread Starter rainelement

    (@rainelement)

    Dear Hristo,

    I followed your advise and activated full page caching via the SGO plugin for CF.

    Could you please see the GTMetrix result – https://ibb.co/2ghnXsQ

    The columns are as follow:
    1. Green – old settings, no CF full caching
    2. Blue – Activated Full Page Caching via SGO – right away very good score!
    3. Orange – Retested after 5 minutes – very bad score
    4. Red – Retested again after 5 minutes – slightly better, still worse than the first column with no CF full fache

    No cache has been cleaned at all between these tests. The hits and inspect element all show correct information in browser incognito check.

    Should I be worried about this, am I doing something wrong?

    Thank you so much for your time! I wish you a great weekend ahead.

    Plugin Author Stoyan Georgiev

    (@stoyangeorgiev)

    Hey there @rainelement,

    I hope you are doing well!

    I had another look at the website in mention and by the looks of it, everything looks good, very good actually.

    I did a few tests via the GTMetrix tool and your site is getting an average of 95+ score, or an A grade.

    Also checked the response headers of your website and they are as well showing that the cached version of the website is served.

    You can check those in the Network Tab of your browser. Search for the
    cf-cache-status: HIT which means that the website cached version is served. You can also check the sg-optimizer-worker-status: hit meaning that our worker is doing its thing and that particular page is cached. However, keep in mind that if a cookie-based header is set the status will be changed to dynamic and bypass, meaning that the specified content should be served non-cached. Those are usually set when a cart page is visited.

    The issue you experienced ( 3 and 4 ) are most probably caused by a speed test done after the cache was purged( this can sometimes happen automatically ) or the version was not cached on the CF edge yet.

    From what I can see, everything is working as expected and the site speed is very good. If you however encounter any issues, feel free to reach back to us!

    Kind regards,
    Stoyan

    Thread Starter rainelement

    (@rainelement)

    Hi Stoyan,

    Thank you so much! I actually just did few test as well and everything is OK, I will pay attention in the next day as well.

    So in such case I can consider that the SGO plugin is setup correctly, memcache and dynamic cache are both active, Minify through CloudFlare.

    Your help is massive to me, thank you all guys!

    Plugin Author Stoyan Georgiev

    (@stoyangeorgiev)

    Hey there @rainelement,

    I am really glad that things are working out the way you need them to!

    Since the results, you are getting on the speed test are pretty good, and everything is working like a charm, you can consider the plugin configured properly for your application.

    It would be awesome if you have some time to rate our plugin, this will really help us a whole lot. Any feedback is highly appreciated and is pushing us forward on improving our plugin and the way it works.

    Kind regards,
    Stoyan

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Could you please help with SiteGround – CloudFlare – SG Optimiser connection?’ is closed to new replies.