Cloudflare Workers edge in Oslo

Cloudflare Workers for Oslo businesses outside the EU but inside the EEA: edge caching in front of WordPress, Bokmal and Nynorsk routing, Vipps-safe checkout rules and GDPR data flows. Delivered remotely from Gdynia.

Cloudflare Workers edge

My place in the WordPress community

  • I have had a wordpress.org account since 2006.
  • I contributed to WordPress core for versions 7.0 and 7.1.
  • I maintain 30 plugins on wordpress.org.
  • I organise and speak at WordCamps.
  • I have attended every WordCamp Europe from 2017 to 2026.

My WordPress.org profile

Why would an Oslo company put Workers in front of WordPress?

Most Oslo websites I look at share one trait: they are written for a small country with a large share of people who are online all day. Norwegians shop on their phones, pay with Vipps, read the news in the morning and expect a page to open at once. The server behind it is often a perfectly good WordPress or WooCommerce installation that was sized for the average day, not for the day the newsletter goes out or a campaign lands on television.

A Cloudflare Worker is code that runs on Cloudflare’s network, close to the visitor, inside a V8 isolate. It scales with traffic and needs no server of your own to provision. I use it to build a layer in front of an existing site, so the origin handles only what truly needs a CMS: logins, baskets, orders, editing. Everything anonymous and repeatable is answered earlier.

My name is Mariusz Szatkowski and WPPoland is my one-person company in Gdynia, active since 2006. I work for Oslo clients remotely and in writing. Oslo and Gdynia share the same time zone, so there is no schedule shifting. Scope, schedule and contract go by email, and you review the work on a staging environment. I do not offer on-site meetings. The general description of the service is on the Cloudflare edge development page; this page covers what it means for a company in Oslo.

What changes when the origin stops answering everything?

Watch a WordPress origin under a burst. PHP workers saturate, the database connection pool drains, and the queue behind them is made almost entirely of anonymous requests for the same handful of pages: the front page, a campaign landing page, a product category, the opening hours. None of it needs the CMS to render the page again for each visitor.

With a Worker in front, four jobs move off the origin.

First, complete HTML pages are cached at the edge. The decision is precise: anonymous visitors get the cached page, while logged-in users, baskets and checkout sessions pass through to the origin. That session-aware split is what general cache plugins often get wrong, and it is where most broken shops come from.

Second, redirects live in one versioned table. A company that has changed its domain, merged brands or restructured its product tree collects hundreds of rules, and an .htaccess file is a poor place to keep them. The Worker answers before the origin is involved.

Third, security headers are set in one place, not scattered over theme files and plugins.

Fourth, requests are filtered, which I cover in its own section below.

None of this is glamorous. It is the kind of work that makes the next campaign boring, which is the goal. If the foundation needs work before an edge layer makes sense, that is a separate engagement, described on the WordPress developer in Oslo page. For shops, the WooCommerce developer in Oslo page is the better starting point.

Does a Norwegian checkout survive a cache layer?

The riskiest part of any edge project is not speed, it is money. A cache that serves the wrong basket to the wrong person is worse than no cache at all. In Norway the payment flow also has its own shape. Many shops offer Vipps next to card payment, and both involve a visit to the provider and a return to your site with a result.

My rules for this are plain:

  • Cart, checkout, account and order routes are never cached.
  • Payment return and callback URLs go straight to the origin and are never rewritten, challenged or rate limited in a way that could drop a legitimate callback from a payment provider.
  • Cookies that mark a session, such as the WooCommerce cart cookies, switch the cache off for that visitor from the first item added.
  • Product and category pages are cached for anonymous visitors, with short lifetimes for stock levels or purged on update.

I do not take these on faith. Before launch I run a complete test order on a staging copy: add to basket, pay, return, confirmation email, stock decrement. Then I run it again with the cache warm, because that is the state your customers will actually meet. A cache setup that passes only the cold test has not been tested.

If your shop sells to Norway from abroad, or sells from Norway to the EU, there is one more point. Norway is outside the EU customs union, and cross-border sales involve customs and VAT rules that I do not advise on. What I can do on the technical side is show the right delivery and tax messages based on destination, and keep those messages out of the cached page where they would otherwise leak between visitors. Ask your accountant or customs adviser for the rules, and I will implement what they decide.

Bokmal, Nynorsk and English: routing without trapping visitors

Norwegian has two written standards, Bokmal and Nynorsk, and most commercial sites use only Bokmal. Some organisations, especially those that deal with public bodies or serve western Norway, publish in both. Add English for international customers and you have up to three versions of one site.

The routing question is which version a first-time visitor sees. A Worker can read the browser’s language preference and send a visitor to the matching version, then store the choice so the visitor is not redirected again. There are rules I do not bend.

Each version keeps its own URL and its own hreflang annotation, so search engines can index every version independently. The redirect never applies to crawlers, and it never applies to a visitor who arrived by a direct link to a specific language. The language switcher stays visible on every page.

I also avoid choosing the language by location. A person in Oslo with an English browser may well want English, and a Norwegian abroad may want Norwegian. Browser preference is a better signal than the IP address, and a visitor’s explicit choice beats both.

On the content side, I handle the technical part and leave wording to someone who knows your business. If you need a Nynorsk version, it should be written or reviewed by a Nynorsk speaker, not produced by a plugin that swaps a few endings.

How do EEA rules apply to an edge layer?

Norway is not a member of the European Union but belongs to the European Economic Area, and the General Data Protection Regulation is part of the EEA Agreement. In Norway it is applied through the Personal Data Act of 2018, and the supervisory authority is Datatilsynet. For a company in Oslo the day-to-day rules therefore look much like those of an EU member state.

A company that uses Cloudflare treats it as a processor. Article 28 of the regulation requires a contract that sets out, among other things, the subject matter and duration of the processing. Cloudflare offers a data processing agreement and publishes its sub-processors, and your legal adviser should review them like any other.

My part is technical. I design Workers so the edge layer touches as little personal data as possible:

  • A caching Worker serving anonymous pages needs no personal data.
  • A Worker that reads cookies to separate logged-in users processes identifiers, and I document that.
  • Logs are kept short and contain no more than the problem at hand requires.

I deliver a short data flow description that your data protection officer or adviser can use for the records of processing. Transfers outside the EEA fall under Chapter V of the regulation, beginning with Article 44. Whether a given setup satisfies it is a legal question for your adviser. I can tell you exactly which requests and which data pass through which service, and that is usually the information the adviser is missing.

Some Oslo companies also work under sector rules, for example in energy, maritime or public contracting, where customers send security questionnaires. A description of the request path, the services involved and the data they see answers many of those questions directly, and I write it in plain language so the questionnaire can be completed by someone who is not a developer.

Energy, maritime and enterprise sites: reliability before cleverness

Oslo has a concentration of companies in shipping, energy and the technology that supports them. Their websites are rarely high-traffic shops. They are corporate sites, investor pages, job boards, product documentation and press rooms, and the cost of a failure is reputational. A press release that goes out and meets a white page is a bad morning.

For these sites an edge layer serves mostly one purpose: availability. A Worker can keep serving cached versions of the most important pages if the origin has a problem, while a clear notice informs visitors about anything that cannot be reached. I plan that failure case explicitly, because a polite static message with contact details is a better outcome than an error screen.

The second purpose is control. Corporate sites tend to accumulate scripts: analytics, chat, video players, tag managers. A Worker can enforce a Content Security Policy and add headers consistently, so a new third-party script does not enter the site unnoticed. That is a security measure and also a privacy one, because every script is a potential data flow.

I do not claim a corporate site needs more than this. If the traffic is modest and the content changes weekly, a good cache plugin, a clean theme and disciplined updates will serve you well, and I will tell you so after the audit.

Where bots hit Norwegian sites

Automated traffic is not a problem reserved for large retailers. Any site with price lists, product data, job ads or a login form draws scrapers, credential stuffing attempts and crawlers that collect content for model training. The cost is load, distorted analytics and, in the case of logins, real security risk.

At the edge I classify requests before they reach the origin. Typical measures are rate limiting by pattern, challenges for suspicious traffic and explicit rules for crawlers you want, such as Googlebot. The rules are tuned from your own logs, not from a generic list, because a blocklist that suits a retailer can block a legitimate partner.

I do not promise that no bot gets through. Filtering reduces automated traffic, and I measure the effect before and after so you can see whether it was worth doing.

When is a Workers project the wrong call?

Take a small consultancy in Grunerlokka with a seven-page site, steady traffic and a contact form. An edge architecture would be waste. A good cache plugin and a tidy theme deliver most of the benefit at a fraction of the effort, and the saved budget is better spent on content or on the offer itself.

There is a second reason to decline. A Worker is software, and software needs maintenance. Several takeover projects I see begin as someone else’s orphaned Worker, undocumented and sitting in the request path of a business that has forgotten it. If a project cannot fund its upkeep, the responsible answer is not to build it.

What justifies the build is usually one of two conditions: traffic that arrives in bursts, from campaigns, newsletters, product launches or media attention, or persistent automated pressure on prices and login pages. Both are measurable before any commitment. If neither is present, the audit will say so, and a small invoice will have prevented a much larger one.

If the real problem is a heavy front end rather than a slow origin, the fix may be a rebuild. For that path, see my Astro developer in Oslo service. I recommend sequencing: put the edge layer in front of the existing system first, measure, and only then decide whether a rebuild is worth paying for.

Is there a WordPress community in Oslo?

I did not verify a WordPress meetup or WordCamp in Oslo for this page, so I will not claim one. I organise the WordUp Trojmiasto meetup in Gdynia, a role I have held since 2015, and I was among the organisers of the first bilingual WordCamp in Poland in 2025, which you can check on the WordCamp Gdynia 2025 organisers page.

What should you send in the first email?

  • the address of your site and a description of the busiest days and pages,
  • access to your analytics or Search Console, and server logs if you can export them,
  • the payment methods you offer and who runs them,
  • the languages you serve, and whether Nynorsk is among them,
  • any contract or compliance requirement about where data may be processed,
  • the date by which something must work, and the reason for that date.

If a point is missing, I will write back what is missing and what it means for scope and schedule.

How do I work with Oslo clients?

I work as a company, with a contract and an invoice. The process stays in writing:

  1. You send the first email with the points above.
  2. After I review your site and measurements, you receive a scope, a schedule and a contract.
  3. I build the pilot Worker on a staging environment, which you review and comment on in writing.
  4. After launch, documentation and access stay with you, and I check the effect against the measurements taken at the start.

Quotes are individual and depend on the scope of the edge logic. After the pilot, every stage is a checkpoint at which you can stop, keep the gains and the documentation, and owe nothing further. For ongoing care there is WordPress maintenance and support in Oslo. You can send the first email through the contact page.

See also in Norway

Need this service: Cloudflare Workers edge in Oslo?

Describe your project by e-mail. I reply within 24 hours.

Describe your project

Explore other WordPress services and knowledge base