<p>It turned out this was the culprit. Craft was doing a deprecationerrors query (<a href="https://github.com/craftcms/cms/issues/2539" rel="nofollow noreferrer">https://github.com/craftcms/cms/issues/2539</a>).</p>

<p>Turning <code>devMode</code> to <code>false</code> fixed this.</p>

<p>Hope this helps someone...</p>

<p><a href="https://i.sstatic.net/qaYQk.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/qaYQk.png" alt="enter image description here"></a></p>

CC BY-SA 4.0
2018-08-02T10:20:52.157Z
2018-08-02T10:20:52.157Z
Hassan Mahmood
<p>I am experiencing incredibly slow site performance. This extends to loading the control panel (/dashboard, /login).</p>

<p>This only happens when I put the site on to my hosting, locally using MAMP it runs quickly.</p>

<p>I have done the following which are recommended in other posts:</p>

<ul>
<li>upped the <code>memory_limit</code> to <code>512M</code></li>
<li>used <code>(% cache globally using key 'entry-' ~ entry.id %}</code></li>
<li>used eager loading for image assets</li>
<li>Disabled/enabled plugins</li>
</ul>

<p>Can someone please help? </p>

CC BY-SA 4.0
2018-08-01T21:25:37.020Z
I'd do some performance profiling to see what's going on. Assuming it's Craft 3, this should help: https://nystudio107.com/blog/profiling-your-website-with-craft-cms-3s-debug-toolbar
andrew.welch
CC BY-SA 4.0
2018-08-01T22:48:50.570Z
Related: https://craftcms.com/support/why-is-my-site-slow
Brad Bell
CC BY-SA 4.0
2018-08-02T10:06:24.357Z
@andrew.welch it looks like this is the culprit
Hassan Mahmood
<control-panel><cache><performance><eager-loading>
Craft incredibly slow site performance
# Craft incredibly slow site performance

(Asked by: username_0 on 2018-08-01)

I am experiencing incredibly slow site performance. This extends to loading the control panel (/dashboard, /login).

This only happens when I put the site on to my hosting, locally using MAMP it runs quickly.

I have done the following which are recommended in other posts:

* upped the `memory_limit` to `512M`
* used `(% cache globally using key 'entry-' ~ entry.id %}`
* used eager loading for image assets
* Disabled/enabled plugins

Can someone please help?

**Tags:** control-panel, cache, performance, eager-loading

> **Comments:**
> **username_1**: I'd do some performance profiling to see what's going on. Assuming it's Craft 3, this should help: https://nystudio107.com/blog/profiling-your-website-with-craft-cms-3s-debug-toolbar  
> **username_2**: Related: https://craftcms.com/support/why-is-my-site-slow  
> **username_0**: @username_1 it looks like this is the culprit  

---

## 1 answers

### Answer by username_0 on 2018-08-02. Score: 4 | Accepted answer

It turned out this was the culprit. Craft was doing a deprecationerrors query (<https://github.com/craftcms/cms/issues/2539>).

Turning `devMode` to `false` fixed this.

Hope this helps someone...

[![enter image description here](https://i.sstatic.net/qaYQk.png)](https://i.sstatic.net/qaYQk.png)


---

