Cloudflare and TTFB optimisation for an international Magento webshop: Maxifleur | Younify
PerformanceMaxifleur · Magento 2 + Cloudflare

Cloudflare and TTFB optimisation: faster for visitors across Europe

Maxifleur serves customers across Europe from servers in the Netherlands. The further away the visitor, the slower the first byte. We put Cloudflare in front of the webshop and removed the delays inside Magento itself.

ClientMaxifleur
ExpertisePerformance & Hyvä
TechnologyCloudflare · Magento 2 · RUMvision
TypePerformance + infrastructure
Cloudflare and TTFB optimisation for Maxifleur
p75 / p95response times tuned per country
Edge cachingstatic assets served close to the visitor
Better LCPin every measured country
Bot controlunwanted traffic filtered before it reaches Magento

1The challenge

Time to First Byte (TTFB) and Largest Contentful Paint (LCP) affect both rankings and experience. For Maxifleur’s international stores:

  • Visitors far from the Netherlands saw a higher TTFB.
  • Magento started a session on every page load, even for cached pages.
  • The mega menu and store switcher added server time to every page.
  • Bot traffic from unexpected countries put extra load on the server.

What is Cloudflare?

Cloudflare is a global CDN and security platform. It serves traffic from edge servers close to the visitor, which shortens load times for international customers and reduces the load on the origin server, without changing the Magento infrastructure behind it.

Cloudflare SSL/TLS settings
Cloudflare configuration

2Our approach

We combined an edge layer in Cloudflare with fixes inside Magento, and measured the effect per country.

Cloudflare in front

DNS moved to Cloudflare for the Maxifleur and Designplants domains, with SSL at the edge and cache rules for static assets.

Two caching layers

Magento’s full-page cache combined with Cloudflare edge caching, using cache-control headers and per-URL TTLs.

Less work per request

A session skip for cached pages, stale-while-revalidate caching and a faster mega menu and store switcher.

Measured per country

Cloudflare Analytics and real-user monitoring, tuned on p75 and p95 values per country.

3The result

Average TTFB for international visitors went down substantially and LCP improved in every measured country. Core Web Vitals in Google Search Console improved, with a positive effect on rankings for international search terms. Cloudflare now also filters unwanted bot traffic before it reaches the server.

?Frequently asked questions about TTFB and Cloudflare

What is TTFB?

Time to First Byte is how long it takes before the browser receives the first byte of a page. It comes before everything else, so a slow TTFB delays every other metric.

Is a CDN enough to fix TTFB?

Not on its own. A CDN helps for cached content, but uncached requests still depend on Magento. That’s why we also reduced the work Magento does per request.

Does Cloudflare work with Magento’s full-page cache?

Yes, when the cache rules are set up carefully. Magento’s full-page cache and Cloudflare’s edge cache then work as two layers.

Can Cloudflare also block bots?

Yes. For Maxifleur it filters unwanted bot traffic and abusive crawlers before they reach the server.

Related solutions

More performance work we did

Your webshop speed

Is your Magento webshop slower than it should be?

Share your URL and what you notice. A specialist will look at your Core Web Vitals and tell you where the biggest gains are.

  • Real-user measurement with RUMvision, not just lab scores
  • Hyvä Gold Partner with experience on live multi-store environments
  • Up to 30% lower cost than most Western European agencies
BP

Prefer to call?
You’ll speak directly with a Magento specialist.
+31 26 700 9750 · sales@younify.nl

Book a free consultation




    No obligation. We only use your details to contact you about your request. See our privacy policy.

    All solutions Consultation

    Why choose Younify?

    Expertise

    Magento and Hyvä specialists focused on performance and growth. From development and support to implementation, we know the Magento platform inside out and understand what is required to scale.

    Dedication

    Committed to your webshop, from launch to further development. We work closely together, provide proactive input, and continuously optimize for the best results.

    Trusted partner

    A single partner for your complete e-commerce solution. Thanks to strong partnerships and broad expertise, we deliver custom solutions including integrations, support, and optimization.

    Scalability

    Webshops that grow with your ambitions. We build scalable Magento and Hyvä solutions ready for growth, expansion, and further development.

     

    Ready to renew and grow your Magento webshop?

    Let’s work together and discover the possibilities.