### Issue Summary
Hi Folks,
I am playing with my own Wordpress theme, I am building up from scratch. Reason for this: I want to learn how it works, and I want to restrict the queries. Since I have 3 requests now, the DOM load time was ~200-300 ms. The issue is that from one day to another this DOM load time goes up to 1.2 seconds from 300ms, which is a 4x increase.
Just to specify the things:
- I am not using any plugins
- I have 1 bundled minified JS with 4rows of console.warn messages --just to test
- that minimal css what I am using is inline
- I have 4 posts and a couple of pages with minimal content --just to test
#### Troubleshooting Questions
- Does this happen for all sites in Local, or just one in particular?
It happened 3 times on 3 different sites.
How I tried to solve:
-restart the Local, restart the PC
-delete cache, try different browser
-repair the local database
How I solved so far:
- I created a new site, and reinstalled my theme
- I recreated my test posts and pages
- everything is back to normal, 200-300 ms load time
Summarizing:
I know it’s not a big issue, and it’s not about a 30 second loading time as other users reported, but I would be curious what is causing the problem, since I want to use Local in future, and I am working on a “how to optimize the WP project”? The database? The browser? The Local?
Attached 2 images and the Latest local logs below, but I can’t interpret the messages.
Thanks,
Szilard
#### System Details
-
Which version of Local is being used?
5.9.8+5191 -
What Operating System (OS) and OS version is being used?
- Windows 10 Professional_
- Mojave
-
Attach the Local Log. See this Community Forum post for instructions on how to do so:
{“thread”:“main”,“class”:“ConfigTemplatesService”,“message”:“Compiling service configs…”,“level”:“info”,“timestamp”:“2021-02-17T08:24:23.707Z”}
{“thread”:“main”,“class”:“Process”,“process”:“nginx”,“pid”:16908,“level”:“info”,“message”:“Killing process”,“timestamp”:“2021-02-17T08:24:24.199Z”}
{“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2021-02-17T08:24:24.111370Z 0 [System] [MY-010116] [Server] %%resourcesPath%%\lightning-services\mysql-8.0.16+5\bin\win64\bin\mysqld.exe (mysqld 8.0.16) starting as process 19436”,“timestamp”:“2021-02-17T08:24:26.733Z”}
{“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2021-02-17T08:24:24.114328Z 0 [Warning] [MY-013243] [Server] --character-set-server: The character set UTF8MB3 is deprecated and will be removed in a future release. Please consider using UTF8MB4 instead.”,“timestamp”:“2021-02-17T08:24:26.733Z”}
{“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2021-02-17T08:24:25.550141Z 0 [System] [MY-010229] [Server] Starting crash recovery…”,“timestamp”:“2021-02-17T08:24:26.733Z”}
{“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2021-02-17T08:24:25.563951Z 0 [System] [MY-010232] [Server] Crash recovery finished.”,“timestamp”:“2021-02-17T08:24:26.734Z”}
{“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2021-02-17T08:24:26.697170Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.”,“timestamp”:“2021-02-17T08:24:26.734Z”}
{“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2021-02-17T08:24:26.732959Z 0 [System] [MY-010931] [Server] %%resourcesPath%%\lightning-services\mysql-8.0.16+5\bin\win64\bin\mysqld.exe: ready for connections. Version: ‘8.0.16’ socket: ‘’ port: 10011 MySQL Community Server - GPL.”,“timestamp”:“2021-02-17T08:24:26.735Z”}