Hello Boldminded Team,
We have identified a fairly significant performance strain on one of our client sites, and we are suspecting that Publisher is involved in the slow site load times.
We are looking primarily at the home page of the bcinvasives site, which can be found here: https://bcinvasives.ca/
I took the ‘view source’ and pasted that into a new template, to bypass any EE tag processing, and that template can be found here: https://bcinvasives.ca/admin/home_speedtest
This new template was still loading quite slowly, so I created a new HTML file and put it in the root of the FTP folder. This page ran in a fraction of the time.
I turned on error visibility in Debugging & Output, and then was looking at the debugging for the raw html in the template of the home page.
the Load times are as follows:
Memory Usage: 34.1MB of 256M
Database Execution Time: 0.0226
Publisher Session Start: 9.0328
Publisher Core Boot Hook: 0.0247
Publisher Core Template Route Hook: 0.0003
Publisher Template Post Parse Hook: 0.0021
Publisher Total Execution Time: 0.0599
Total Execution Time: 9.4610
What jumped out at me was the ‘Publisher Session Start’ above. This seems like the most significant item on the performance list.
I was advised to reach out to you guys to see if you knew more about that line, and exactly what that measurement means.
Again, there are no tags on this template at all, so why is Publisher running any functions on this page load?
Hopefully you can help me debug this issue and improve performance.
My next thought was to use the staging server to disable publisher and see if that improves page load times, but I thought I would ask you about it first.
I have added an account on the staging site for you. Debugging results are similar to the production server, but a lot of the image paths are broken which will affect performance.
The same template is on staging & production: https://staging.bcinvasives.ca/admin/home_speedtest
I look forward to hearing back from you about this, hopefully we can get to the bottom of it.