Hello,
We recently updated our website to theme version 12.6.9 along with its required plugins. After the update, we observed a significant decline in performance:
– Page Load Time: The site’s loading time has doubled.
– PHP Memory Usage: Increased from 45-50MB to over 530MB.
– Database Queries: Certain functions like ‘get_pages_options_array’ appear to be rendering all posts, leading to slow and duplicate queries.
Could you please investigate these issues in this theme version and provide guidance on resolving them?
Thank you!
Hello!
The newest theme update doesn’t include any feature to decrease your page speed.
Check all these requirements for the theme: https://forum.tagdiv.com/requirements-for-newspaper/
Limit the number of backups: https://app.screencast.com/M5Wco6Td6nymr
Please note that page speed is not covered by the support team: https://forum.tagdiv.com/newspaper-theme-support/
I recommend you use fewer features on the page so there will also be fewer requests.
Improving page speed in WordPress is crucial for providing a better user experience and optimizing your website for search engine rankings. Here are some tips to help you enhance your WordPress site’s page speed:
Optimize Images: Compress images before uploading them to your WordPress site. You can use plugins like WP Smush or EWWW Image Optimizer to automatically optimize images without losing quality.
Utilize Caching: Implement caching to reduce server load and speed up page loading times. WordPress caching plugins like WP Super Cache or W3 Total Cache can generate static HTML files of your pages to serve users instead of dynamically generating them each time.
Minify CSS and JavaScript: Minify your CSS and JavaScript files to remove unnecessary characters and reduce file sizes. This can be done manually or through plugins like Autoptimize or W3 Total Cache.
Enable GZIP Compression: Enable GZIP compression on your server to reduce the size of files sent from your server to users’ browsers. Most hosting providers offer GZIP compression, but you can also enable it through plugins like WP Rocket or W3 Total Cache.
Optimize Database: Regularly clean up and optimize your WordPress database to remove unnecessary data and improve performance. You can use plugins like WP-Optimize to automate this process.
Limit External Requests: Minimize the number of external requests your website makes by reducing the use of external scripts and widgets. Each external request adds overhead to your page’s loading time.
Enable Lazy Loading: Implement lazy loading for images, videos, and iframes so that they are only loaded when they are visible on the user’s screen. This can significantly reduce initial page loading times.
Optimize Server Response Time: Choose a reliable hosting provider with fast server response times. Consider using a content delivery network (CDN) to serve your content from servers closer to your users.
Regularly Update Plugins and Themes: Keep your WordPress core, plugins, and themes updated to the latest versions to ensure compatibility with the latest performance optimizations and security patches.
Ads can significantly impact the speed of your WordPress website since they often involve loading external resources and scripts. You can try to limit the number of ads, optimize ad sizes and formats, and implement lazy loading on your ads.
By following these tips, you can significantly improve the page speed of your WordPress website, leading to better user engagement, higher search engine rankings, and overall improved performance.
Thank you!
Hi Bettina,
Thank you for your response.
After updating the Newspaper theme from version 12.6.8 to 12.6.9, our development team has identified a significant increase in memory consumption.
Key Observations:
– Before the update: The site performed well with a 512MB memory limit.
– After updating to 12.6.9: we had to increase the memory limit to 2GB, forcing us to increase the memory limit. However, our hosting provider does not recommend this change.
– Impact: Page load times have doubled, and excessive database queries (such as get_pages_options_array) appear to be contributing to the issue.
Live Comparison:
– Site with Newspaper 12.6.9 (Experiencing Issues): https://lngqa.wpengine.com/
– Live site running Newspaper 12.6.8 (Working Fine): https://www.lubesngreases.com/
Also please check the below screenshots of https://lngqa.wpengine.com/ site for before and after theme upgrade.
Before screenshot: https://prnt.sc/76MPjOxvUNNw
After screenshot: https://prnt.sc/Z0T_GDZLL5hV
Since this issue is directly tied to the latest theme update, can you please:
1. Confirm whether changes in version 12.6.9 could be causing increased memory usage?
2. Provide guidance on resolving excessive memory consumption and database queries?
3. Let us know if a fix or patch is planned?
We appreciate your prompt assistance in resolving this. Let us know if you need further details.
Thank you!
Hello!
I’ve checked the websites and I can not see any visible differences. If I check the pagespeed score: I see an increased score for accessibility and the Best Practices on https://lngqa.wpengine.com/ and the Performance and SEO decreased.
Maybe you lost some optimization you made before.
For every update, we always recommend the following:
-> First of all, please make sure you have a backup.
-> Please deactivate all the non-tested plugins with our theme before updating.
-> Update WordPress, PHP, the theme, and plugins to the latest version: https://forum.tagdiv.com/how-to-update-the-theme-2/.
-> Check all these requirements for the theme: https://forum.tagdiv.com/requirements-for-newspaper/
1. We didn’t add anything that can affect our customer’s page speed score. Here you can see all the changes from the latest update: https://tagdiv.com/newspaper-changelog/
We have customers that reach the 100% score with our theme and they never stop updating the theme and plugins.
2. Did you limit the number of backups: https://app.screencast.com/M5Wco6Td6nymr? https://forum.tagdiv.com/what-is-ajax-preloading/ Check this thread: https://forum.tagdiv.com/topic/crashing-sql-server-due-to-excessive-requests/
3. We add improvements and fixes in each update.
Thank you!
Hi Bettina,
Thank you for your response.
Upon reviewing the Newspaper theme’s changelog, I noticed the addition of the ‘new: Added a new shortcode Page Content Renderer;’ block in recent theme updates.
This new block, located in plugins\td-composer\legacy\Newspaper\includes\td_config_blocks.php at line 35935, utilizes the function td_config::get_pages_options_array(), which retrieves all pages regardless of their status.
The function itself is defined in plugins\td-composer\legacy\Newspaper\includes\td_config.php at line 7467. After activating the td composer plugin, we observed memory usage exceeding 550MB.
Our website contains 281 pages with substantial content. Consequently, when this block is loaded, we experience significant slow query issues. Please refer to the attached screenshots for details. When we modified the query to retrieve only 10 published pages per page, memory usage decreased to 50-55MB.
We attempted to override this method within our child theme, but were unsuccessful. Could you please advise if there is a method to resolve this issue through the child theme, or if a patch is planned?
Attachments:
Memory usage with all pages condition: https://prnt.sc/IZBUzIGel0fm
Memory usage with published and 10 pages counts condition: https://prnt.sc/5hJOSCjOLFEK
Thank You.
Hi Bettina,
Are there any updates from your developer?
Please let us know.
Thank you
