Way to avoid homepage cache for two dynamic elements (RSS, Twitter feed)?

[ad_1]

Hi all, as the title says – on my homepage I have two dynamic elements – external RSS feed (via Feedzy plugin) and Twitter embed (via Twitter Feeds plugin). I’m using a customized Newspaper theme, and have them in raw HTML blocks as shortcodes.

Issue is, I also need caching which due to my target audience, server location etc. will be local, not by CDN or similar. Another issue is since traffic will be low, so is my budget, and I’m not planning to spend money on a plugin. However since I have a mobile theme as well, I need the plugin to support mobile caching (WP Fastest Cache doesn’t, but I can disable caching by css elements). Then I opted for WP Optimize, which supports mobile theme but cannot exclude parts of homepage from being cached. Other options I’ve looked at lack either, or they’re not free.

Is there a way to do something via js or similar, make the shortcode/css load after the main page elements, since both plugins have their own background refresh parameters that I’ve set to 1 hr?

Any help is appreciated, thanks!

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer