Very slow loading of matches shortcode
-
I have a soccer league set up with multiple seasons, and 8 teams in each season. I would have imported a new set of teams for each season since the teams change (although some teams remain the same from season to season). And I also added the games between the teams for each season.
When I add one of the shortcodes to a page like
[matches league_id=3]
or [leaguearchive league_id=3]
the page is extremely slow to load, taking 10+ seconds, and sometimes 20 seconds.I activated P3 Profiler and it showed that League manager was trying to execute 427 queries trying to load the matches shortcode for that league. When I remove the leaguemanager shortcode, the page loads instantly and I don’t have any other content on the page besides the shortcode.
I must be doing something wrong since I don’t see any other topics on here of people having loading issues?
- The topic ‘Very slow loading of matches shortcode’ is closed to new replies.