Bad performance: How do we defer images

Posted in: Newspaper
Post count: 2

Hi all, we are seeing a very poor performance on our WordPress with this theme (bad pagespeed, affecting traffic).

Here are a couple of things which could improve performance:

– images inside the sub-menu – can we defer their loading?
– inline scripts – is there a way to serve minified versions of these?

Any other helpful tips will be appreciated. The usual things – minifying assets, gzip, expires headers etc. are all taken care of.

  • This topic was modified 7 years by vedantrusty. Reason: typo
Post count: 35449

Hi,

For mega menu are 3 options in Newspaper>Theme panel>Header >main Menu -> https://www.screencast.com/t/SLh6ZKSzrjJ

For a better performance please make sure that the theme system status is configured as mentioned in the requirements guide. Please follow the guide carefully
https://forum.tagdiv.com/requirements-for-newspaper/
and please increase all requirements that are lower, and follow all steps.

For mobile version you can use the mobile theme -> https://forum.tagdiv.com/the-mobile-theme/
-> https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fdemo.tagdiv.com%2Fnewspaper_local_news%2F

You should follow our useful guide in that case from here -> https://forum.tagdiv.com/how-to-make-the-site-faster/
There are many optimization guides provided by our users here in the forum, some made by us, you could check some of them
https://forum.tagdiv.com/cache-plugin-install-and-configure/
https://forum.tagdiv.com/how-to-make-the-site-faster/
https://www.infophilic.com/get-almost-100-pagespeed-newspaper-theme/
https://forum.tagdiv.com/topic/score-100100-pagespeed-with-newspaper-wordpress-theme/
https://forum.tagdiv.com/topic/newspaper-theme-speedify-your-website/
https://forum.tagdiv.com/topic/tutorial-chriss-custom-optimizations-for-functions-php-etc/
https://forum.tagdiv.com/cloudflare-cdn/
https://forum.tagdiv.com/topic/theme-causing-high-cpu-usage-2/
https://forum.tagdiv.com/topic/sql-querys-high-cpu/
https://forum.tagdiv.com/topic/newspaper-theme-slow-to-respond/
https://premium.wpmudev.org/blog/optimizing-your-wordpress-database-a-complete-guide/
https://underconstructionpage.com/optimize-wordpress-database/
https://crunchify.com/better-optimize-wordpress-database-all-in-one-guide/

Thanks for your understanding!

Post count: 2

Thank you. Many of these links helped.

One major bottleneck I feel are the images that are loaded in the sub-menu. Is it possible to defer the images unless visitor hovers over menu? There is no point loading 4-8 images in the header unless visitor wants to see them, as they are invisible.

Post count: 35449

Hi,

Please try the settings from Newspaper>Theme panel>header Main menu -> https://www.screencast.com/t/3IL923gW here is some documentation
-> https://forum.tagdiv.com/what-is-ajax-preloading/

Thank you!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.