Performance issues
-
Hi,
I love the Modern Events Calendar plugin.
Unfortunately, I have some performance problems (using it with Enfold theme).
The loading times of the pages (backend and frontend) are minimum two times higher.
If I want to edit a page the loading time is even 6 sec with MEC enabled instead of 1,5s sec.I tried to locate the issue and had success:
It is located in the “import”-function in the “mec-init.php”-file.
I figured out that the query of “file_exists” increases the loading time of the pages.
(Maybe it is caused because the “load_features”-function and “load_skins”-function calls the “import”-function so many times.)
I’m still not sure if the performance issue is related to the Enfold theme. I’d tried the 2019 WordPress theme and had lower page load times, but they are still higher as when MEC was disabled.Maybe you can figure out what the problem is or find another solution for this query.
For now, I’ve set the override-variable to false, because I don’t need the override-function.
Maybe you can at least provide a filter to disable the override-function.Best regards
NiklasAppending some page load times (measured with Query Monitor):
https://drive.google.com/file/d/1yPoUGvg_RnaZ20gpaRItPBt-B75DAcCy/view?usp=sharing
- The topic ‘Performance issues’ is closed to new replies.