When we look into speed problems on export websites, one pattern keeps coming up: the slowness rarely comes from a weak server. It comes from the distance between the server and the buyer, and from pages that are rebuilt on every single request. That is why "edge hosting" and "serverless" have moved onto the agenda of exporting manufacturers in recent years. Vendor presentations tend to describe both as the answer to everything, yet for a B2B catalogue site the picture is more mixed. This article takes the two approaches question by question and separates where they help from where they create new problems. We set out the broader framework in our guide to export website technical infrastructure for global reach; here we focus on the hosting layer of that framework.
What does edge hosting actually change?
With classic hosting, your site runs on a server in a single data centre. When a procurement manager in Germany opens a page, the request travels to that server, the page is built and sent back. With an edge approach, content or part of the code is moved to many small points of presence spread across different regions of the world. The buyer's request is answered at the point nearest to them.
Two different things need to be kept apart here:
- Edge caching: Copies of pre-built pages, images and files are stored at points close to buyers. It is the familiar CDN idea, extended to cover HTML pages as well.
- Edge compute (edge functions): Small pieces of code run at the point near the buyer, for example a redirect decision, adding a header or a light personalisation step.
For most export websites, the real gain comes from the first item. Product pages, category pages and company pages are the same for every visitor; there is no reason to rebuild them on every request. Edge compute is a useful tool for specific jobs, not a platform that has to carry the whole site.
What does serverless mean, is there really no server?
Despite the name, there is of course a server; the difference is that you do not manage it. Your code runs when a request arrives and the resources are released once the request is done. Billing is usually based on the number of invocations, their duration and the data transferred, rather than on a machine that runs all the time.
This model has three consequences:
- Maintenance work drops. You no longer deal with operating system updates, full disks or server restarts.
- Cold starts appear. A function that has not been called for a while has to start up again on the first request, and that first response can be delayed. Sites with irregular traffic see this more often.
- The bill follows traffic. At low traffic the cost can stay small, but bot traffic, heavy crawling or a wrong cache setting can make the bill grow unexpectedly.
Traffic on an export website is typically low and irregular: buyers from a handful of markets, sudden peaks around trade fairs, search engine bots during the night. That profile is directly relevant to both cold starts and bot-driven costs.
When does the edge really make a site faster?
The clearest contribution of the edge is serving cacheable pages from a location close to the buyer. Every request travelling from a server in Türkiye to North America, the Gulf or South-East Asia has to cover a physical distance. If the page is already waiting at an edge location, that trip gets shorter and time to first byte drops. To measure this difference in your own markets, you can use the method in measuring TTFB by country; deciding on measurements rather than estimates shortens the debate considerably.
Static and cached pages
Product details, technical data sheets, certificate pages and blog posts change rarely. When these pages are built in advance and stored at edge locations, they open quickly and put no load on the origin server. When content is updated, purging the cache for the affected page is enough. We describe the simplest form of this approach in static site generation for a fast global catalogue.
Redirects and headers
Permanent redirects from old addresses to new ones, security headers and noindex headers on certain subdomains are jobs that suit the edge layer very well. The request is answered before it ever reaches the origin server, which is a gain both for speed and for server load.
Light personalisation
Showing a language suggestion banner based on the visitor's country, or remembering a currency choice, can be done with edge functions. Some care is needed here: since search engine bots tend to crawl from particular regions, automatically changing page content based on the visitor's location can lead to indexing problems. Solutions where the user makes their own choice, such as a suggestion banner, are safer than forced redirects.

Where do edge and serverless struggle?
This is the part that gets less space in vendor documentation. Export websites may look simple, but most of them contain sections tied to a database: quote request forms, dealer logins, stock or price lists, multilingual content management. These sections do not always fit the edge model.
A database far away
Even if the code runs near the buyer, a database that sits in a single region means every query still makes the round trip to that region. If building a page takes several queries, code running at the edge can even be slower than code running on the origin server, because each query covers the long distance separately. In short, moving the code without moving the data does not guarantee speed. Replicating the database across several regions is possible, but it brings its own complexity and consistency issues.
Long-running tasks
Jobs such as generating PDF catalogues, batch image processing, nightly ERP synchronisation or large file uploads can hit the time and memory limits of serverless and edge environments. These limits vary by provider and plan; check the provider's official documentation for the current values. Such jobs usually run more comfortably on a permanently running server or in a separate job queue.
Unpredictable bills
Usage-based billing carries risk when you cannot control your traffic. Heavy bot crawling, parameterised URLs that bypass the cache, or an image transformation function that accidentally runs on every request can push the bill far above a fixed monthly server fee. In this model, setting budget alerts and spending limits is not optional; it is a basic setting.
Vendor lock-in
Edge functions, serverless databases and platform-specific cache APIs work differently with every provider. The deeper a site is tied to these features, the more expensive it becomes to move to another infrastructure later. Keeping the application code in a standard runtime and limiting platform-specific features to a thin layer keeps your option to migrate open.
How do the four options compare?
The table below summarises general tendencies; there are significant differences between individual providers and prices change often. Use it as a starting point and make the final decision by testing with your own traffic and content structure.
| Criterion | Classic VPS | Managed hosting | Serverless | Edge |
|---|---|---|---|---|
| Latency worldwide | Tied to one region; high in distant markets without a CDN | Tied to one region; most plans can add a CDN | Depends on the chosen region; improves with caching | Low for cached content; variable for dynamic requests if the database is far away |
| Cold starts | None; the server runs continuously | None or very limited | Yes; noticeable with irregular traffic | Usually short; the runtime is more restricted |
| Cost predictability | High; fixed monthly fee | High; plan-based | Low to medium; depends on traffic and bot load | Medium; depends on request volume |
| Ops effort | High; updates, backups and monitoring are on you | Low to medium; the provider manages the infrastructure | Low; but monitoring and cost tracking are needed | Low to medium; distributed debugging is harder |
| Data location | Clear; the country where the server sits | Clear; the plan's data centre | Region can be chosen; check side services separately | Spread out; check separately which data is processed where |
The conclusion from the table is that no option wins on every criterion. A classic server is strong on predictability and clarity of data location, and weak on latency in distant markets. The edge is strong on latency but needs extra attention for dynamic sections and data location. That is why, for export websites, the best result usually comes from a setup that combines the layers.
What about data location and GDPR?
This section is not legal advice; we recommend settling decisions about personal data with an adviser who specialises in GDPR and, for Turkish companies, KVKK. From a technical point of view, however, there are a few points worth considering.
Company pages, product pages and blog posts contain no personal data; caching them at edge locations around the world generally stays outside the data location debate. The real question concerns sections that process personal data, such as quote forms, dealer logins, newsletter sign-ups and analytics data. Which region this data is processed in, which sub-processors it is passed to and where records are stored should be clarified through contracts and technical settings.
In edge and serverless environments this question becomes a little more complicated: if a form request is processed at the point nearest to the buyer, it can be harder to know which country the data temporarily sits in. A practical approach is to never cache requests that carry personal data and to route them directly to an origin server in a known region. For a detailed look at choosing a hosting region, see our article on the EU or US hosting decision under GDPR.

What setup do we recommend for an export site?
For most B2B export websites, the setup we recommend is simple: cached pages at the CDN edge, dynamic work on an origin server in a known region. This setup takes the speed advantage of the edge while keeping the cost and cold start risks of serverless contained.
How the layers share the work
- Edge layer: HTML page cache, images and static files, permanent redirects, security headers, basic bot filtering.
- Origin server: Content management panel, page generation, form handling, database, scheduled jobs and integrations.
- Cache purging: When content is published or updated, only the cache of the affected pages is purged; there is no need to empty the whole site each time.
Why this setup works
A buyer in a distant market receives most pages from a point close to them. The origin server only handles requests that are not cached or that are personal, which lets you get by with a smaller server at a predictable cost. The database and personal data stay in a single, known region. Platform-specific dependency is limited to cache and redirect rules, which can be moved to another CDN with relatively little effort. For setup details, our multi-region CDN setup guide walks through it step by step.
Settings to watch
For HTML caching to work safely, cached pages must not set cookies, personal sections should load through separate requests, and language versions should live at separate URLs. Serving language versions from the same URL based on the browser language can lead to problems such as the wrong language being stored in the cache. Form and admin URLs should be kept outside the cache rules.
When does going fully serverless or fully edge make sense?
For some exporters, a more advanced setup can be justified. On a site with heavy, steady traffic across many markets that offers interactive tools such as a product configurator or live price calculation, running those tools as edge or serverless functions can bring speed gains. Likewise, for a small site with genuinely low traffic and no team to manage its own server, serverless hosting can be a practical starting point.
When making this decision, it helps to answer these questions in order:
- How many of our pages are the same for every visitor? If most of them are, caching already solves most of the problem.
- How many times do our dynamic sections hit the database, and where is the database?
- Do we have long-running jobs, and do they fit within the platform's time limits?
- Is there a known ceiling on the bill when bot traffic rises?
- If we wanted to change provider tomorrow, how much of the code would we have to rewrite?
The answers usually show that, instead of a complete architectural change, putting a well-configured edge cache in front of the existing server is enough.
What should you measure before migrating?
The most common mistake in infrastructure decisions is migrating without measuring. Before you move, record time to first byte from your target markets, the cache hit ratio and your slowest page types. After the move, repeat the same measurements with the same method.
- Time to first byte by country: From your main markets, separately for cached and uncached requests.
- Cache hits: How many HTML requests are served from the edge and how many from the origin server.
- Response of dynamic pages: End-to-end time for actions such as form submission, search and dealer login.
- Monthly cost and request volume: Including bot traffic, as a trend over several months.
These measurements show what an edge or serverless move really delivers in which market, and they prevent migrations made simply because something seems more modern.
The yardstick for an infrastructure choice is not how new the technology is, but how quickly and reliably a buyer in a distant market sees your pages and what that costs each month: can your setup give a clear answer to both questions?




No comments yet
Leave a Comment