There can be many reasons a wordpress admin could get slow. First thing first, I used P3 plugin to find out which plugins are the root cause. I found out that WPML’s string translation was using the most resources even though I didn’t need it running all the time.
Disable WPML String Translation
The reason it takes too much of memory is because each time it checks the whole website source for possible string for translation. So I disabled it and noticed significant performance difference.
Secondly, if you’re using CloudFlare then there is no reason you should enable all of its features for the wp admin as most of the functions are dynamic and a cache would actually do more harm than good.
So I logged into my cloudflare account, chose my website domain and opened Page Rules.
Create a new rule for the wp-admin directory:
then did the same for previewing posts and pages with an addition of one extra setting:
Thats it. Now click on ‘Save and Deploy.
Good Work! You saved yourself from wasting precious development time 😉