- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- TutorialsFrom WPBakery to tagDiv Composer
- TutorialsWhat is Ajax preloading?
Hi, folks
with all the changes in the WP landscape; what is your thought “today” on best solution for page caching with Newsmag ?
Running into issues with speed for our NM sites now on PHP8.3 with Apache Pagespeed no longer working, we’ve lost the optimizations since 2016 that we relied on for concatenation, optimization, white space and comment removal, etc. Everything is 20% slower, and tools like Plesk PHP Optimizer not really doing anything for TTFB stuff.
New tools like this ( https://flyingpress.com/features/ ) promise a lot. GTMetrix now promoting WP-Rocket ( https://gtmetrix.com/blog/wordpress-optimization-using-wp-rocket/ ).
I tend to trust GTmetrix, having actually worked with them prior to their launching the test site ( I’m old 🙂 ).
Just general query as our site performance now sucks without server side pagespeed tool we have relied on.
Hi,
I have a few recommendations to help optimize your site’s performance:
Enable Object Caching: This can significantly improve load times by reducing the need for repeated database queries.
Cache on Flex Block Elements: As per the instructions here, activating cache for flex blocks can improve resource efficiency: https://forum.tagdiv.com/use-flex-blocks-cache-option/
Review Resource-Heavy Features: If you’re using the “Most Popular” feature, it may be consuming substantial resources. You can disable it by navigating to the theme panel here: – https://i.imgur.com/IgvZFub.png – https://i.imgur.com/wnBKD6r.png – https://i.imgur.com/Vms107h.png
Please note, it’s advisable to make this change after updating the sorting settings for the blocks.
Hi,
In td_011 are stored all the data from the theme, all the settings, cloud templates, backup for theme panel, pages, and so on. -> https://imgur.com/k7nkIRg
If you have more settings and a big website, then it is possible that the database will grow; there are set data for posts and pages, categories, and authors.
If you want, you can check this article: 7 Tips To Reduce WordPress Database Size -> https://www.webhostingsecretrevealed.net/blog/wordpress-blog/7-tips-to-reduce-wordpress-database-size/, but before making any changes, please make a full backup of your website and database, and only after that make changes to the database.
If you have already used the theme settings to optimize the results, then what I can do further is to suggest some plugins – https://wordpress.org/plugins/aaa-option-optimizer/ and https://wordpress.org/plugins/autoload-optimizer/, but before using them, make sure that you have a complete database backup.
Thank you!
Hi,
regarding the language, we are actually referring to the content of the email that arrives to the user with the reset link. From what we can see, in the following files of your plugins, where the content of the reset email appears, no language domain is set, which is why we assume that the Italian translation does not appear:
– plugins/td-subscription/includes/tds_update.php
– plugins/td-subscription/includes/tds_ajax.php
– plugins/td-composer/legacy/common/wp_booster/td_login.php
As for the actual password reset, we confirm that disabling SiteGround’s Speed Optimizer plugin solves the problem. We will therefore configure the plugin correctly or ask them directly for support. We would like to ask you why clicking on the reset link does not take you to the site’s login page, but to the administration page. Is there a specific configuration to be made on the theme?
The login page is as follows: https://www.attoricasting.it/accedi/
Thank you
Hi,
This can be a situation caused by some extra plugins. Please do a test using only tagDiv plugins and make sure no cache is applied. If it is working, it can be related to some settings from a plugin and possibly optimize or cache the plugin. Please clear the cache and see if the problem persists. If it persists, please disable the cache plugin and see if the problem persists, is resolved, then enable the cache plugin and check the settings one by one. It is possible to be related to the cache option for the unused css.
It’s been a few weeks since we’ve noticed there is a severe slowdown (up to 3 minutes) every time we post a new entry to our website. We’ve installed wp-cache, tried to optimize almost every aspect of the website, and it’s still slow, but only when posting, the rest of the site is fine. After disabling all plugins, the website ran and posted fast; when re-enabling the tagdiv Composer and Could Library plugins, the performance issues came back. Is there a way to fix this?
HI,
Most of the time, those were the settings interfering with the theme, but if the problem persists, then I think you’ll need to manually check the settings until you find those that are causing this situation.
The layout shift is usually caused by Remove Unused CSS or JS Delay/Defer in LiteSpeed. Try this :LiteSpeed → Page Optimization → CSS
– Set Remove Unused CSS = OFF
– Use Optimize CSS Delivery = ON (Critical CSS per URL)
– Purge CCSS/UCSS.
LiteSpeed → Page Optimization → JS
– Turn Delay JS = OFF (or exclude Newspaper/tagDiv scripts like /wp-content/themes/Newspaper/, td-*).
– Turn Load JS Deferred = OFF if issue persists.
LiteSpeed → Page Optimization → Media
– Localize Google Fonts = ON, Font Display = Swap, and preload main fonts.
LiteSpeed → Cache → Mobile
– Enable Cache Mobile + Separate Mobile View.
Then clear all caches and retest. Most Newspaper sites fix the shift by disabling UCSS and excluding tagDiv JS from Delay/Defer.
Thank you!
Hi,
First, make sure you have a full backup for your database. After that use the Advanced DB Cleaner plugin can be used to remove/delete/optimize the td_covid19_data and make sure that the elements are no longer on your website pages.
Thank you!
Hi Mark,
To reduce the autoload, I will suggest the following plugins: https://wordpress.org/plugins/aaa-option-optimizer/ and https://wordpress.org/plugins/autoload-optimizer/, but before using them, make sure that you have a complete database backup.
If you want, you can check this article: 7 Tips To Reduce WordPress Database Size -> https://www.webhostingsecretrevealed.net/blog/wordpress-blog/7-tips-to-reduce-wordpress-database-size/, but before making any actions, please make a full backup of your website and database, and only after that make changes to the database.
Thank you!
Also note that Autoptimize and Yoast SEO are the problem
Hi,
Yes, for best performance we recomand a premium cache plugin, as you mentioned is the WP Rocket plugin with cloudflare CDN.
For images, the EWWW Image Optimizer can be used to optimize them.
Unfortunately, we can not provide a GPL license for WP Rocket, sorry!
Thank you!
Hi,
Can you please temporarily disable the image optimizer plugin and verify if the image is provided the correct version on the frontend?
Also, if you can provide a link to the website where I can investigate the problem, it will help me to understand whether the thumbs have the correct size, if they have been optimized …
Thank you!
I have the EWWW image optimizer installed. I have regenerated the thumbnails and the issue is still there. It’s not just in the post template page – it’s also on the home page of the mobile, the thumbnails are all over the place and look incorrectly sized.
Hi,
I understand the situation. In this case, I recommend disabling the theme panel thumbnails and keeping only the one for full-width (1920px). Also, consider disabling the default WordPress image sizes, as shown here: https://i.imgur.com/ZRlMLtq.png.
Before making any changes, be sure to back up your database. After that, you can clean the _wp_attachment_metadata entries a database cleanup should handle it.
You might also consider using a plugin like WP-Optimize to assist with the cleanup process.
Hi,
I see, so the settings are ok, and the thumbs should be created when the images are uploaded in the wordpress media.
Do you have some extra plugins that optimize the images?
Can you please regenerate the thumbs https://wordpress.org/plugins/force-regenerate-thumbnails/? This should regenerate the thumbs in case those are not created.
Thank you!
Dear tagDiv Team,
We are currently working with the Newspaper theme and have encountered a technical challenge related to automated content publishing.
Using the n8n platform, we’ve successfully built a full automation workflow. The process starts with a headline pulled from Google Sheets and continues with the automated generation of a well-optimized article. The article is then published to our WordPress site in draft status. We handle the remaining tasks manually — assigning categories, adding featured images, and completing SEO setup.
This workflow works perfectly on sites using Elementor-based themes. However, we’ve been unable to achieve the same results when using the Newspaper theme. The article either fails to appear or doesn’t behave as expected in draft mode.
Our main question is: What is the correct and compatible way to programmatically publish articles to draft status using the Newspaper theme? Is there any specific setup or hook your theme requires that differs from standard WordPress functionality?
This functionality is critical for our project, and we would greatly appreciate your guidance on how to make this work properly with your theme.
Thank you very much in advance!
Best regards, Aldis
Hi, sorry for the late reply.
The LiteSpeed Cache → Page Optimization → Tuning → “Lazy Load Excludes” field doesn’t exist even on the latest version (https://docs.litespeedtech.com/lscache/lscwp/pageopt/#tuning-tab).
In Media Settings I have “Lazy Load Iframes” set to OFF.
BUT, I found the culprit. EWWW Image Optimizer also had a Lazy Loading option for the images and, as soon as I disabled it, the embed started showing up correctly again.
Hi,
I will recommend to do a test, remove the cache from flex blocks elements and make sure the transients are clear, after that check to see if the number is of transients is the same or is lower.
I see you are using litespeed. LiteSpeed Cache can indirectly reduce the reliance on transients if you:
– Use Object Cache (like Redis or Memcached) — this keeps transients out of the database.
– Use the Crawler carefully — too aggressive a crawler can generate lots of transient data.
– Keep the database clean — LiteSpeed Cache has a Database Optimization tool (under LiteSpeed Cache → Database) that:
Go to WordPress Dashboard → LiteSpeed Cache → Database: Here you’ll see:
= “Clean All”
= “Clean Expired Transients”
= “Optimize Tables”
Click “Clean Expired Transients” to remove old ones.
Enable Object Cache (optional but recommended)
If your hosting supports Redis or Memcached, enable it under:
LiteSpeed Cache → Cache → Object This makes transients (and other objects) live in RAM instead of cluttering your database.
I hope this will help you!
Calin
I’m experiencing a problem with the solution you recommended to optimize image loading: unfortunately, the new format prevents (Single Post Bg Featured Image) featured images from appearing in Google News snippets, and this is a significant drawback in terms of CTR and visibility.
I’d like to know if it’s possible to keep the previous format for featured images (or at least a format compatible with Google News) while still optimizing loading speed. Is it really impossible to improve loading times for featured images without losing compatibility with the Google News bot?
Looking forward to your feedback.
Thanks,
Antonio
Hi Calin,
Thank you again for your help.
Even though the lazy load is disabled in the theme panel and no data-lazyloaded or data-src is present in the HTML source (as you confirmed), when I run a PageSpeed test on an article — like this one: https://www.sport24h.it/laura-rogora-a-campitello-vince-la-prima-prova-di-coppa-europa-lead
I see that the featured image is still reported as lazy loaded. It appears with:
(see https://ibb.co/RTBmB3k8)
This image is also marked as the Largest Contentful Paint (LCP) element, and the loading time is above 3.5 seconds.
Could you please help me understand:
– Why is the image still being marked as lazy-loaded?
– Is this due to some remaining control by the theme, or LiteSpeed Cache?
– What would you recommend to optimize LCP, specifically for the featured image in articles, while using your theme?
Thanks again for your time and support,
Antonio
No theme can optimize your site for image size, TTL, caching, minification, local font hosting, etc.
Use tools like GTMetrix to evaluate your site for possible optimizations, read the WordPress codex (docs) on tips for optimizations, use proper htaccess settings to hide critical WP elements, consider disabling XMLRPC, etc.
For any site, limiting queries, mega menus, widgets, number of images per page, number of modules per page, etc. highly impact performance.
Calin,
Thank you for your reply.
I have already disabled the Lazy Load option from the Theme Panel as shown in your screenshot. However, even after doing this, the featured image on my articles still includes attributes like data-lazyloaded=”1″ and data-src, which suggest that lazy loading is still being applied by the theme’s internal JavaScript.
You can verify this directly here:
👉 https://www.sport24h.it/laura-rogora-a-campitello-vince-la-prima-prova-di-coppa-europa-lead/
I am trying to optimize LCP and need the featured image (which is the LCP element) to load immediately, without any lazy loading. Can you please clarify:
Where exactly the script applying data-lazyloaded=”1″ is coming from?
How I can fully disable lazy loading on the featured image only?
Thank you for your support.
Best regards,
Antonio
Hello Antonio,
Normally the theme panel option should be apply on all image element from our theme https://i.imgur.com/aYfN2E9.png
You can also enable the webp option for block so if you have a plugin to optimize the images and provide the version in webp – this will replace the actual image with the webp one = https://i.imgur.com/NnixX9a.png
Thank you!
Hello,
I’m currently using the Newspaper theme (latest version), along with LiteSpeed Cache and Cloudflare, and I’m actively working to optimize page speed, especially improving LCP (Largest Contentful Paint) for better Core Web Vitals scores.
To do this, I need LiteSpeed Cache to handle all lazy loading, while the theme must stay completely passive. Therefore, I’ve disabled the lazy load option in the Newspaper theme settings.
However, even after disabling it, I still see the data-lazyloaded=”1″ attribute on the featured image, and it seems that the theme is still injecting some JavaScript (e.g., td-lazyload.js or inline behavior) responsible for lazy loading.
This is problematic because when the theme’s lazy load is active, Googlebot fails to detect and index images properly, causing a loss in visibility (especially in Google Discover).
My questions:
How can I completely disable any lazy loading script or HTML output from the Newspaper theme (including Composer elements)?
Is there a filter, hook, or function to prevent the theme from adding lazy load markup?
Which components (modules, blocks, featured image logic, etc.) enforce lazy loading regardless of the main theme settings?
I need full control over lazy loading via LiteSpeed Cache to ensure the images load fast and are visible to search engine bots.
Thank you very much for your support.
Best regards,
Antonio
http://www.sport24h.it
Hi Aldis,
I see that now on desktop the results are better – https://i.imgur.com/d8ONEjN.png but on mobile are like you mentioned – https://i.imgur.com/FjqIfoQ.png
Her are some settings that can help.
– set the menu links using the custom link instead using page and category (those will do more request to the database the custom link).
– use plugins to clean transient and database ( WP-Sweep and Advanced Database Cleaner)
– make sure you have set the WP rocket settings similar with those from our guide – https://forum.tagdiv.com/wp-rocket-and-newspaper-theme-optimization-guide/ (settings can be changed if you find for your situation some configurations with better results)
– use a CDN https://forum.tagdiv.com/cloudflare-cdn/
– make sure you are using an image optimize
– use only cloud template and remove tagDiv Standard Pack plugin
– make sure all images have set width and height
I hope those will help you!
Thank you!