Skip to content

Why your website is slow even when the hosting looks good

„Платих за по-скъп хостинг, а сайтът пак е бавен.“ Това е честа история, защото хостингът определя само колко бързо сървърът отговаря. Всичко след това, снимките, скриптовете, шрифтовете, зарежда браузърът на посетителя, и там обикновено е проблемът.

2,5 sцелта за показване на основното съдържание (LCP)
0целта за реакция при натискане (INP)
0,1целта за разместване на съдържанието (CLS)

Това са трите показателя Core Web Vitals, по които Google оценява скоростта. Измери сайта си безплатно с PageSpeed Insights.

Къде се губи време

Сървърътотговаря бързо или бавно
Снимкитечесто по няколко MB
Скриптоветечатове, броячи, плъгини
Шрифтоветеот външни сайтове
Екранъткога клиентът вижда нещо
  1. Огромни снимки. Снимка от телефона е 4 до 8 MB. На сайта ѝ трябват няколкостотин KB.
  2. Твърде много скриптове. Всеки плъгин, чат, брояч и пиксел за реклами добавя нещо, което браузърът трябва да свали и изпълни.
  3. Page builder-и. Удобни са за редакция, но често генерират много повече код, отколкото е нужно.
  4. Без кеширане. Ако всяка страница се сглобява наново при всяко посещение, сървърът работи излишно.
  5. Външни шрифтове и вградени видеа, които се зареждат, преди човек да ги е поискал.

Бърз хостинг с бавен сайт е като спортна кола, теглеща каравана.

Какво да оправиш първо

  • Компресирай снимките и ги качи в WebP
  • Махни плъгините и скриптовете, които не ползваш
  • Включи кеширане
  • Зареждай видеата и картите чак когато човек стигне до тях
  • Измери отново с PageSpeed Insights

Писал съм и за page builder-ите в WordPress, които често са тихият виновник. Ако искаш, измервам сайта ти и ти казвам кое от тези неща го бави най-много.

Прочети още:

Източници: web.dev: Web Vitals; PageSpeed Insights.

“I paid for more expensive hosting and the site is still slow.” It's a common story, because hosting only decides how fast the server answers. Everything after that, images, scripts, fonts, is loaded by the visitor's browser, and that's usually where the problem is.

2.5 sthe target for showing the main content (LCP)
0the target for responding to a tap (INP)
0.1the target for layout shift (CLS)

These are the three Core Web Vitals Google uses to judge speed. Measure your site for free with PageSpeed Insights.

Where the time goes

The serveranswers fast or slow
Imagesoften several MB each
Scriptschats, counters, plugins
Fontsfrom outside sites
The screenwhen the visitor sees something
  1. Huge images. A phone photo is 4 to 8 MB. On a website it needs a few hundred KB.
  2. Too many scripts. Every plugin, chat, counter and ad pixel adds something the browser has to download and run.
  3. Page builders. Handy for editing, but they often generate far more code than needed.
  4. No caching. If every page is assembled from scratch on every visit, the server does needless work.
  5. External fonts and embedded videos that load before anyone asked for them.

Fast hosting with a slow site is a sports car towing a caravan.

What to fix first

  • Compress images and upload them as WebP
  • Remove plugins and scripts you don't use
  • Turn on caching
  • Load videos and maps only when someone scrolls to them
  • Measure again with PageSpeed Insights

I've also written about WordPress page builders, which are often the silent culprit. If you like, I'll measure your site and tell you which of these slows it down most.

Read more:

Sources: web.dev: Web Vitals; PageSpeed Insights.

Built to create. Not to obey.

// more

More in “Guides”

All posts →