# Super slow frontend and panel not loading at all

**URL:** <https://forum.getkirby.com/t/super-slow-frontend-and-panel-not-loading-at-all/6776>\
**Category:** Questions\
**Tags:** v2\
**Created:** [February 27, 2017, 4:50pm UTC](https://forum.getkirby.com/t/super-slow-frontend-and-panel-not-loading-at-all/6776 "2017-02-27T16:50:58Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![daizumi](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/daizumi/32/11799_2.png) [@daizumi](https://forum.getkirby.com/u/daizumi)\
**Post date:** [February 27, 2017, 4:50pm UTC](https://forum.getkirby.com/t/super-slow-frontend-and-panel-not-loading-at-all/6776/1 "2017-02-27T16:50:58Z")

</div>

I’ve read many threats of people complaining about super slow frontends and panels, but in all cases I’ve read it’s got to do with a hook, plugin, or similar extra. I don’t have any of that on my client’s site. Actually, the site was running normally for around two years and all of a sudden this slowness began to happen.

It’s not about the image sizes, in case you’re wondering. I checked and all images are around 100kb.

I first though it was a server problem, so I tried loading a large image by going directly to its URL and it loaded in no time. Also server response through FTP is pretty fast.

The only odd thing I’ve managed to find is that by accident I had left the `debug` option in `config.php` set to `true`. When I switched it to `false`, the panel stopped loading at all, with a “This site can’t be reached” message from the browser. The frontend still loads but speed is the same.

I’m using Kirby 2.3.2. Would it help to update?

I’m not getting any PHP or Javascript errors reported. How can I even tackle this? I’m lost. ☹

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [February 27, 2017, 5:05pm UTC](https://forum.getkirby.com/t/super-slow-frontend-and-panel-not-loading-at-all/6776/2 "2017-02-27T17:05:07Z")

</div>

Do not switch to false but remove the config entry.

If you want to keep the debug option for localhost, you can create different [config.php files for different environments](https://getkirby.com/docs/developer-guide/configuration/options/#multi-environment-setup).

---

<div class="post-metadata">

**Author:** ![daizumi](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/daizumi/32/11799_2.png) [@daizumi](https://forum.getkirby.com/u/daizumi)\
**Post date:** [February 27, 2017, 5:13pm UTC](https://forum.getkirby.com/t/super-slow-frontend-and-panel-not-loading-at-all/6776/3 "2017-02-27T17:13:09Z")

</div>

> [@texnixe](#):
>
> Do not switch to false but remove the config entry.

I see. OK, this allowed me to enter the panel without leaving debug mode on. But speed is the same.

Tried updating to 2.4.1 and the slow loading persists in both panel and frontend.

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [February 27, 2017, 5:18pm UTC](https://forum.getkirby.com/t/super-slow-frontend-and-panel-not-loading-at-all/6776/4 "2017-02-27T17:18:32Z")

</div>

Do all pages on the frontend and in the panel load slowly or only specific ones?

---

<div class="post-metadata">

**Author:** ![daizumi](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/daizumi/32/11799_2.png) [@daizumi](https://forum.getkirby.com/u/daizumi)\
**Post date:** [February 27, 2017, 5:26pm UTC](https://forum.getkirby.com/t/super-slow-frontend-and-panel-not-loading-at-all/6776/5 "2017-02-27T17:26:00Z")

</div>

> [@texnixe](#):
>
> Do all pages on the frontend and in the panel load slowly or only specific ones?

Yes, all. 😕

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [February 27, 2017, 5:31pm UTC](https://forum.getkirby.com/t/super-slow-frontend-and-panel-not-loading-at-all/6776/6 "2017-02-27T17:31:27Z")

</div>

I would assume that it is rather a server problem than a Kirby problem, if you haven’t changed anything. Or has the site grown considerably in size since it was first installed? Do you have pages with thousands of subpages?

---

<div class="post-metadata">

**Author:** ![daizumi](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/daizumi/32/11799_2.png) [@daizumi](https://forum.getkirby.com/u/daizumi)\
**Post date:** [February 27, 2017, 5:39pm UTC](https://forum.getkirby.com/t/super-slow-frontend-and-panel-not-loading-at-all/6776/7 "2017-02-27T17:39:03Z")

</div>

No, nothing has grown massively in size, just a few new pages, but we’re talking about maybe 60-70 pages in the course of the past two years. Only two levels of depth, nothing fancy.

It happened in the past that a page that was linked to another by it’s UID, changed name/UID and thus the code couldn’t find it anymore and the whole site and panel went down because of that. I’m more concerned it could be something like that, because of something being badly programmed (I’m a self-taught programmer) and not checking before executing some functions. But this time there’s no errors involved or pages not loading. It’s just slow.

How can I rule out the possibility of it being a server issue?

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [February 27, 2017, 5:48pm UTC](https://forum.getkirby.com/t/super-slow-frontend-and-panel-not-loading-at-all/6776/8 "2017-02-27T17:48:05Z")

</div>

First of all I would download it to a local server and check how it works there. Then maybe test on another remote server.

---

<div class="post-metadata">

**Author:** ![daizumi](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/daizumi/32/11799_2.png) [@daizumi](https://forum.getkirby.com/u/daizumi)\
**Post date:** [February 28, 2017, 10:47am UTC](https://forum.getkirby.com/t/super-slow-frontend-and-panel-not-loading-at-all/6776/9 "2017-02-28T10:47:09Z")

</div>

Will try that. Thanks!

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [February 28, 2017, 11:08am UTC](https://forum.getkirby.com/t/super-slow-frontend-and-panel-not-loading-at-all/6776/10 "2017-02-28T11:08:41Z")

</div>

Yeah, let me know your findings.

> [@daizumi](#):
>
> and not checking before executing some functions.

Oh yes, it’s really important to make this a habit. Because more often than not, everything works fine as long as it is under your control, but comes the time the user does something unexpected, things start to break.

---

<div class="post-metadata">

**Author:** ![daizumi](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/daizumi/32/11799_2.png) [@daizumi](https://forum.getkirby.com/u/daizumi)\
**Post date:** [March 2, 2017, 6:46pm UTC](https://forum.getkirby.com/t/super-slow-frontend-and-panel-not-loading-at-all/6776/11 "2017-03-02T18:46:44Z")

</div>

Forcing PHP version 5.6 with `AddHandler php56-fcgi .php` on `.htaccess` seemed to solve the problem of the slowness completely.

Anyway, before the site was running on PHP 5.4.45, which is above of Kirby’s requirements (PHP 5.4+). It might have been just a coincidence, I don’t know, but the site was slow for over a week, and it went back to normal speed right after I edited the .htaccess. Weird.

I haven’t have the time to test that same installation in localhost nor in a different server, so I can’t report on that, sorry!

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [March 2, 2017, 7:00pm UTC](https://forum.getkirby.com/t/super-slow-frontend-and-panel-not-loading-at-all/6776/12 "2017-03-02T19:00:19Z")

</div>

Ok, I’ll mark this as solved for the moment.

---

<div class="post-metadata">

**Author:** ![distantnative](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/distantnative/32/11319_2.png) [@distantnative](https://forum.getkirby.com/u/distantnative)\
**Post date:** [February 6, 2025, 4:52pm UTC](https://forum.getkirby.com/t/super-slow-frontend-and-panel-not-loading-at-all/6776/13 "2025-02-06T16:52:34Z")

</div>


