Is your site ready for traffic you didn’t plan for?

Most sites are built for the traffic their owners expect. The problem is that the traffic that matters most is the kind you can’t schedule: a story that suddenly breaks, a mention that sends a wave of visitors, a crisis that makes everyone open your site at once. That unplanned surge is exactly the moment that tests whether your site was really ready — and it’s a bad time to find out it wasn’t.

A weak setup fails quietly — until it doesn’t

A single small server, no caching, no CDN, a cramped shared host — all of that looks fine on an average day. It keeps looking fine right up until the peak, and then it falls over all at once. The failure isn’t gradual; it arrives with the crowd, on the day you most wanted to be online.

What “ready” actually means

  • Caching and a CDN, so a spike is cheap to serve instead of expensive to survive.
  • Hosting sized to the job, with resources that are actually yours rather than shared with strangers who can crowd you out.
  • Monitoring, so you learn about a problem from your tools, not from readers telling you the site is down.
  • Basic resilience and protection, so the site can absorb a sudden flood of requests and keep serving.

Popularity and an attack look the same to a server

Here’s the part people miss: to your server, a story going viral and a deliberate attack are almost the same event — far too many requests arriving at once. A site engineered to ride a traffic spike is, by the same design, much harder to knock over on purpose. Building for your best day quietly prepares you for your worst one.

We’ve seen both ends of that. Keeping Armenian news sites online through everything from election nights to a war meant building for the day the traffic — wanted or hostile — arrives all at once.

How we approach it

We build and host sites so that the big day is the good day, not the day they go down — the right caching and delivery, hosting that fits, monitoring, and enough resilience that a surge is something the site handles rather than something that handles the site. If you’re not sure your site would survive its own best story, that’s worth checking before the story arrives, not during it.

Multilingual done wrong: how translation plugins drag a site down

Adding a second or third language to a site is usually a one-click decision: install a translation plugin, switch it on, done. It works — until the site grows. Then the same plugin that made multilingual easy becomes one of the heaviest things the site carries, and performance slides in every language at once.

Several languages shouldn’t cost several times the speed

The trap is treating language as something layered on top of a finished site, rather than part of how it’s built. A general-purpose translation plugin has to intercept and filter a great deal of what the site does — working out which language this request is, which version of each piece of content to show, which links to rewrite — and it does that work on every request, in every language. The bigger your archive and your traffic, the more that layer costs.

The symptoms

  • Pages are slow in all languages, not just the secondary ones.
  • The database works noticeably harder than a single-language site of the same size would.
  • The admin area — where editors actually work — crawls, because the translation layer sits in the middle of everything.

What a lean multilingual setup does differently

At the principle level: language shouldn’t multiply the work done on every page. A good setup links each piece of content to its translations cleanly, knows which language it’s serving without re-deciding from scratch each time, and serves each language as directly as a single-language site would. The reader in any language should get a page that’s just as fast as if that were the only language the site spoke.

Why we went custom for a national trilingual site

For a large news network running in Armenian, Russian and English, an off-the-shelf translation plugin simply couldn’t carry the weight at that scale. So we built a lean translation approach sized to the site — one where serving three languages doesn’t cost triple the performance, and editors aren’t fighting a sluggish admin. We’ll keep the internals to ourselves, but the outcome is the point: three full editions, one fast site.

Counting views without slowing the site down

Almost every news site counts how many times an article is read, and shows a “most read” or “trending” list. It sounds trivial. But it’s one of the most common reasons a busy site gets slow — because the feature that tracks your popularity is triggered hardest by exactly the stories that are popular.

Why a naive view counter is dangerous

The obvious way to count views is to record one every time someone opens an article. On a quiet site that’s fine. On a news site, a story that takes off means thousands of those records being written in the same minute — a write storm aimed at your database at the worst possible time. Then the “most read” widget asks the database to sort through all of that on every homepage load, adding its own weight on top.

The symptoms

  • Popular articles get slower the more popular they are.
  • Database load spikes exactly when a story is trending.
  • The “trending” block on the homepage drags down the one page everyone sees.

It’s a nasty feedback loop: success makes the site slower, which costs you the readers success brought in.

What counting right looks like

Without getting into the plumbing, the principles are straightforward. Counting a view should never make the reader wait — it should happen out of the way, not block the page. The totals that power “most read” should be prepared in advance and served ready, not recalculated from scratch for every visitor. And the whole thing should be built to stay cheap precisely when traffic is high, instead of getting more expensive the moment it matters.

Why we built our own

The view counters you can install off the shelf are usually built for ordinary sites, not for a newsroom where a single story can out-traffic the rest of the site combined. So we built our own, designed around one goal: count every view and power real-time “most read” lists without ever becoming the thing that slows the site. We won’t bore you with how it works under the hood — what matters is that the counting disappears into the background and stays there, even on the biggest day.

Images are killing your load time — how to do media right

Open your site on a phone with a weak signal and watch what makes you wait. Nine times out of ten it’s not the text — it’s the images. On a typical page, pictures weigh more than the HTML, CSS and JavaScript combined, which makes them the first place to look when a site feels slow.

The mistakes that make images heavy

  • Full-resolution uploads: a photo straight from a camera or agency feed can be several thousand pixels wide and several megabytes — shown in a slot a few hundred pixels across.
  • One size for every screen: sending a desktop-sized image to a phone wastes most of the bytes the reader paid to download.
  • Old formats: sticking to heavy formats when modern ones deliver the same quality at a fraction of the size.
  • Loading everything upfront: downloading every image on the page, including the ones far below the fold a reader may never reach.

The fixes that undo them

  • Right-size and serve responsively: generate the sizes you actually use and let each device download the one it needs, not the biggest one that exists.
  • Use modern formats: newer image formats cut file size dramatically with no visible quality loss.
  • Lazy-load below-the-fold images: load pictures as the reader approaches them, so the top of the page appears fast and nothing is downloaded that isn’t seen.
  • Compress and serve from a CDN: squeeze each file and deliver it from a server near the reader.

Why news sites feel this hardest

A news homepage can carry dozens of images at once, and most of your audience is on mobile. Get images wrong and the page is several megabytes before a single headline is readable; get them right and the same page feels instant. Few changes move a news site’s speed as much as fixing its media.

How we approach it

We treat images as a performance budget, not an afterthought — the right sizes, modern formats, lazy-loading and delivery close to the reader, built in rather than bolted on. It’s often the single biggest speed win available to an image-heavy site.

The hidden cost of page builders on a media site

Page builders — the drag-and-drop tools that let you design a page without touching code — are genuinely useful. They put layout in the hands of people who aren’t developers and get a site live fast. But everything they make easy on the surface, they pay for underneath, and on a busy media site that bill comes due.

What they promise — and deliver

Build a page by dragging blocks around, no code, instant preview. For a small marketing site or a landing page, that convenience is real and often worth it.

What they cost under the hood

  • Bloated markup: builders wrap your content in layers of extra containers, so a simple page becomes a deep, heavy structure the browser has to work through.
  • Their own code on every page: the builder’s styles and scripts tend to load site-wide, even on pages that barely use it.
  • Slower rendering: more markup and more inline styling mean more for the browser to parse and paint — felt most on mobile.

Why a media site feels it most

A brochure site has a handful of pages. A news site has thousands of articles, several templates, and the kind of traffic where every extra kilobyte is multiplied by a crowd. Builder overhead that’s invisible on a five-page site becomes a real, measurable drag across a large, busy one — especially on the article page your readers open most.

The lock-in nobody warns you about

Content built in a page builder is often tangled up in that builder’s own shortcodes and structures. Move away from the tool — or the tool falls out of date — and you’re left untangling your own articles. The convenience you rented turns into a cost to leave.

When a builder is fine — and when it isn’t

For a small site where speed-to-launch beats raw performance, a builder can be exactly right. For a media platform where performance, scale and longevity matter, hand-built templates win: they produce clean, light pages that load only what they need and stay yours.

How we build

For media and news sites we build templates by hand, so the article page is as light and fast as it can be. We’ll recommend a builder when it genuinely fits — but not for a site whose whole job is to serve heavy traffic quickly.

Caching for news sites: why breaking news breaks cheap setups

Here’s the cruel irony of running a news site: the moment you’ve worked for — a story everyone wants to read — is the exact moment a weak setup collapses. Thousands of people land on the same page in the same minute, the server tries to build that page thousands of times at once, and the site that was fine all month goes down on its biggest day.

What “no caching” actually means

By default, many sites rebuild each page from scratch for every visitor: run the code, query the database, assemble the HTML, send it, throw it away, repeat. For one reader that’s nothing. For a crowd arriving at once, it’s the same expensive work repeated thousands of times for a page that didn’t change between them.

Page caching: build it once, serve it to everyone

Caching flips the model. The page is built once and the finished result is kept ready, so the next thousand readers get the stored copy instantly instead of making the server rebuild it. Suddenly a traffic spike is cheap: you’re handing out the same ready-made page, not doing the same work over and over.

The CDN layer

A CDN takes it further by keeping copies close to your readers, on servers around the world, and serving your images, styles and scripts from the one nearest each visitor. Your origin server does less, pages arrive faster, and a surge of traffic is spread across a network built for exactly that.

The catch nobody mentions: freshness

Here’s where news is special. Most caching advice assumes pages rarely change. News changes constantly — headlines update, stories get corrected, new articles push in every few minutes. Cache too aggressively and readers see stale news; cache too timidly and you’re back to rebuilding everything. The real work is getting both at once: pages served from cache and updated the moment the newsroom changes something. That balance is the whole game, and it’s what separates a setup that merely “has caching” from one built for a live newsroom.

How we approach it

We treat caching and delivery as part of the architecture from day one, not a plugin added at the end — tuned so a site stays fast under a spike and still shows breaking news the instant it’s published. It’s a big part of why the news sites we run stay up on the days that take other sites down.

Why we don’t ship a line of code the site doesn’t use

There’s a habit in web development that feels responsible but isn’t: keeping code around “just in case.” A whole library loaded to use one function from it. A theme’s demo features left switched on. A block of script copied in to fix something two years ago that nobody dares delete. None of it is used — and all of it still ships to your readers and sits in the code your team has to maintain.

Dead weight is still weight

Unused code doesn’t become harmless just because nobody calls it. The browser still downloads it. The server still loads it. Your developers still have to read past it, test around it, and wonder whether it’s safe to touch. Every kilobyte and every unclear line is a small tax you pay on every page view and every change.

Where the bloat hides

  • Big libraries for small jobs: pulling in a heavy framework to use a single helper.
  • Demo and “kitchen-sink” features: themes and plugins that ship with everything turned on, most of which you’ll never use.
  • Copy-paste leftovers: snippets added to solve one problem and never removed.
  • “Temporary” code: the most permanent kind there is.

Why lean code wins on every axis

It’s faster, because the reader only downloads and runs what the page actually needs. It’s safer, because every line you don’t ship is a line that can’t break or be exploited. And it’s cheaper to maintain, because a developer opening the project can understand it — there’s no archaeology, no guessing which parts are load-bearing.

It’s a discipline, not a one-time cleanup

You can’t bolt leanness on at the end. It comes from a default: add code only when the site needs it, and remove it the moment it stops being used. “We might need it later” is almost always cheaper to solve later than to carry now.

How we build

At Peyotto, the rule is simple — if the site doesn’t use it, it doesn’t ship. We’d rather write the small, specific thing a site needs than inherit a giant general-purpose one and hope we grow into it. On a high-traffic site that discipline is the difference between a page that loads instantly and one that drags a little more with every “just in case” nobody removed.

Off-the-shelf theme vs. custom build: when a template stops being enough

A ready-made theme is often the smart choice. It’s cheap, it launches fast, and for a lot of sites it’s genuinely all you need. But there’s a point where the template that got you started quietly becomes the thing holding you back — and on a growing site, that point arrives sooner than people expect.

What a template is great at

Speed and cost. If you need a clean, conventional site up this month on a tight budget, a good theme is hard to beat. There’s no shame in starting there; most sites should.

The signs you’ve outgrown it

  • You’re installing plugins to force it to do things it was never built for. Every “how do I make the theme do X” ends in another add-on.
  • It’s slow and nobody can say exactly why. Generic themes carry code for hundreds of features you’ll never use, and the reader’s browser pays for all of it.
  • Every change is a fight. You’re working around the theme instead of with it, and small tweaks take far too long.
  • Your site isn’t a standard site. News feeds, custom content types, multiple languages, heavy traffic, special layouts — the further you are from “blog with pages,” the less a template fits.

What you actually gain from custom

A custom build is designed for this site and nothing else. That means it loads only what the site uses, so it’s faster by default. It models your real content — your sections, your article types, your languages — instead of bending a generic structure to fit. And because there’s no mountain of unused features underneath, it’s easier to maintain and far less fragile at scale.

Custom doesn’t mean reinventing everything

The smart version of custom is pragmatic: build what’s unique and performance-critical by hand, and lean on solid, standard tools for the ordinary parts. The goal isn’t craftsmanship for its own sake — it’s a site that’s fast, fits your content, and won’t fall apart on your busiest day.

How we think about it

We build custom where it earns its keep — sites where performance, scale or an unusual structure matter, which is exactly the case for news and media. For a simple brochure site, we’ll happily tell you a template is the right call. The honest question isn’t “custom or not” — it’s “has this site outgrown what a template can carry?” If it has, patching it with more plugins only delays the reckoning.

How many plugins is too many? When plugin bloat starts costing you

You installed plugins to solve problems: a contact form here, a gallery there, an SEO helper, a security add-on, a caching plugin, a social-share bar. Each one felt harmless. Then the site got slow, the dashboard got crowded, and one update broke something nobody could trace. That’s plugin bloat — and on a busy site it’s expensive.

There’s no magic number — but there is a real cost

People love to ask “how many plugins is too many?” The honest answer: it’s not the count, it’s the weight. Five heavy plugins can hurt more than twenty tiny ones. What matters is what each one does on every request.

Every active plugin can add database queries, load its own CSS and JavaScript, register options that get read on every page, and expand the surface where things can break or be attacked. Most of that happens whether or not the feature is used on the page a reader is looking at.

Why it gets worse exactly when you can’t afford it

On a small blog, a plugin that adds a few milliseconds is invisible. On a news site, that overhead is paid by every reader at once. When a story spikes and ten thousand people land on the same page in the same minute, the cost isn’t a few milliseconds — it’s that number multiplied by the crowd. Plugin bloat is a tax you only feel on your best traffic day.

The quieter costs

  • Front-end weight: each plugin that adds a script or stylesheet makes the page heavier for the reader, even for features they never touch.
  • Maintenance risk: more plugins means more updates, more conflicts, and more chances that one of them breaks the site or goes unmaintained.
  • Security surface: every plugin is third-party code with access to your site. The more you run, the more you have to trust and keep patched.

How to decide what stays

For each plugin, ask three questions:

  • Is it core to what this site does? If yes, it’s often worth building properly and lean, instead of relying on a general-purpose plugin that does far more than you need.
  • Does it load everywhere for something used in one place? A plugin that runs on every page for a feature on a single page is pure overhead.
  • Would anyone notice if it were gone? If not, remove it. Audit the list a few times a year.

How we approach it

At Peyotto we keep the plugin list short on purpose. The things that are central to a site — and especially to a high-traffic news site — we build lean and specific, so they do exactly what’s needed and nothing more. Plugins are reserved for genuinely peripheral jobs. The result is a site that stays fast and predictable, and a codebase you can actually reason about. If your dashboard is a wall of plugins and you’re not sure which ones are dragging it down, that audit is a good place to start.

Why your news site is slow — and the 6 real reasons behind it

For a news site, speed isn’t cosmetic. A reader who came for a breaking headline won’t wait four seconds for your homepage to load — they’ll hit back and open a competitor. Google quietly ranks you lower. And on the one day that matters most — an election night, a crisis, a story that goes viral — the traffic that should be your biggest win becomes the thing that takes you offline.

The frustrating part is that “my site is slow” almost never has one cause. It’s usually the same handful of mistakes, stacked on top of each other. Here are the six we see most often — and what to do instead.

1. Too many plugins

The mistake: every time something’s missing, another plugin gets installed. A year later the site runs on thirty of them.

Why it hurts: every active plugin is code that loads, runs queries, and adds requests on every single page view. At low traffic you don’t notice. On a news site doing tens of thousands of views an hour, that overhead is multiplied by every reader at once — and that’s exactly when it shows.

Do instead: treat each plugin as a cost, not a free feature. Keep only what the site genuinely needs, and build the few things that are core to your site properly, rather than bolting on a generic plugin for each.

2. A heavy, generic theme

The mistake: a bought multipurpose theme or a drag-and-drop page builder designed to do everything for everyone.

Why it hurts: “does everything” means it ships with code, scripts and styles for hundreds of features your site will never use — all of which the reader’s browser still has to download and process.

Do instead: a theme built for this site, loading only what this site actually uses.

3. No real caching

The mistake: every visitor triggers the site to rebuild each page from scratch — database queries, templating, the works.

Why it hurts: rebuilding a page for one visitor is cheap. Rebuilding it for ten thousand simultaneous readers during breaking news is how sites fall over at the worst possible moment.

Do instead: serve ready-made pages from a cache and push static assets through a CDN, so a traffic spike is something your site rides, not something that rides your site.

4. Unoptimized images

The mistake: full-resolution photos uploaded straight from a camera or agency feed, shown at a fraction of their size.

Why it hurts: images are usually the single heaviest thing on a page. A news homepage with dozens of oversized photos can be several megabytes before a word of text loads — brutal on mobile, where most of your readers are.

Do instead: right-sized images, modern formats, lazy-loading and a CDN.

5. Heavy third-party scripts

The mistake: ad networks, multiple analytics tools, social widgets, chat boxes and view counters all piled on — each one a script loaded from someone else’s server.

Why it hurts: every third-party script is a request you don’t control, running in your reader’s browser and often blocking the page while it loads. A slow ad server becomes your slow site.

Do instead: audit what’s really needed, load the rest without blocking, and for things that are core to a news site — like counting views — use something built to be light instead of a heavy off-the-shelf tool.

6. A multilingual setup that wasn’t built for scale

The mistake: a general-purpose translation plugin bolted onto a site serving several languages.

Why it hurts: these tools add their own layer of queries and overhead to every request, in every language — overhead that grows with your archive and your traffic.

Do instead: a translation approach sized to the site, so serving three languages doesn’t cost three times the performance.

The thread running through all six

Notice the pattern: every one of these is extra weight the site is carrying but doesn’t need. Slowness is rarely a mystery — it’s accumulation. The fix isn’t a magic plugin (that’s reason #1 all over again); it’s subtraction. Build the site around what it actually does, measure what each piece costs, and refuse to ship weight that doesn’t earn its place.

That’s the principle behind everything we build at Peyotto — and it’s why the news sites we run stay fast under the kind of traffic that takes other sites down. If your site is slow and you can’t tell which of these six is the culprit, that’s exactly the kind of thing we untangle.