• Resolved ridestoke

    (@ridestoke)


    Hello,
    I’m testing wp hummingbird on my site. I’m hosting with Cloudways and using varnish. Without the varnish turned in on both my server and hummingbird I’m finding that the TTFB is really slow. As in 7 seconds plus slow. I turned varnish back on and tested.

    Here are the results:

    Without Varnish and Cloudflare

    https://tools.pingdom.com/#5b4ea88f80000000

    With Varnish without Cloudflare

    https://tools.pingdom.com/#5b4eaa7d77800000

    With Varnish and Cloudflare

    https://tools.pingdom.com/#5b4eaaf7f1400000

    I know cloudflare adds a hop so its not the best to test with that on which is why you see two tests without cloudflare.

    Is there any other way I can improve TTFB and page speed scores? I’m trying to get the overall time down and have my page ads load with the rest of the content so the eye test looks faster.

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

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter ridestoke

    (@ridestoke)

    The other thing I also noticed is that when I published a new post I could not see it on the site refreshing the browser. Cloudflare was connected in hummingbird so its like hummingbird was not telling cloudflare to revalidate cache and showing the new post.

    @ridestoke,

    Varnish can be a pain to properly configure. HB and Cloudflare is for browser caching only, it should not be affecting the page cache. You can try to enable Page Caching in Hummingbird and turn on Varnish integration. That should help with cache clearing. At least, you’ll be able to set it to clear cache on page/post updates.

    Best regards,
    Anton

    Thread Starter ridestoke

    (@ridestoke)

    That is how I have it configured. I have page caching in HB set and varnish turned on at cloudways server. Cloudflare is configured under the browser cache section. I did also set it to clear page/post on updates.

    With this the homepage did not show the new post with this configuration and cloudflare.

    @ridestoke,

    Did you enable Varnish integration in Page Caching module?

    Best regards,
    Anton

    Thread Starter ridestoke

    (@ridestoke)

    Yes I did.

    @ridestoke,

    Does your Varnish configuration allow clearing cache with the X-Purge-Method header? I’m afraid there’s not much else you can check. Hummingbird will attempt to purge Varnish cache on page/post updates. But too strict caching rules might still prevent the site from properly updating and you might require a manual cache purge.

    Best regards,
    Anton

    Thread Starter ridestoke

    (@ridestoke)

    I can check with cloudways support. Here is other thing that happened when the post would not show on homepage. I was using varnish->HB-Cloudflare with all integrations in hummingbird turned on.

    I checked to see if the new post showed on homepage and it did not. Once I temporarily disabled cloudflare the post showed so it must have been posted to cache on the server and not had the new post passed to cloudflare.

    @ridestoke,

    If it’s Cloudflare, you need to make sure that the cache is purged on updates. Hummingbird will not do that for you.

    Best regards,
    Anton

    Thread Starter ridestoke

    (@ridestoke)

    ok that makes sense. I’m wondering if the browser cache setting that is used for the HB is telling the browser to hold onto the cloudflare cache. Effectively overriding the new cache that is passed to cloudflare when a new post goes up.

    @ridestoke,

    Browser cache can be easily tested by viewing the page in browser incognito mode. If the incognito mode shows the correct data, it’s browser cache related.

    Best regards,
    Anton

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

The topic ‘Hummingbird speed testing’ is closed to new replies.