{"id":18999692,"date":"2026-08-21T17:06:08","date_gmt":"2026-08-21T17:06:08","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/dont-cache-the-sidebar-or-sidebar-element\/"},"modified":"2026-08-21T17:06:08","modified_gmt":"2026-08-21T17:06:08","slug":"dont-cache-the-sidebar-or-sidebar-element","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/dont-cache-the-sidebar-or-sidebar-element\/","title":{"rendered":"Don&#8217;t cache the sidebar or sidebar element"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Good afternoon Jose,<br \/>I have a challenge where a website that I am deploying has a sidebar where images are dynamically rotated each time the content of a new page is visited. This is fine until you add a &#8220;normal&#8221; cache plugin (WP Fastest Cache in this case) for speed. I am using a server with Apache and NGINX, so I can&#8217;t readily use LiteSpeed. Your plugin nicely solves that; however, I am unclear how to call the plugin correctly (\u00a0[content_no_cache id=\u201d3328\u2033 request=\u201dremote\u201d]) from the PHP on the image element (I presume you mean the DIV) to ensure the images that need to be rotated are not part of the page cache. Do you have an example of how to achieve this? <br \/><br \/>Thank you! <\/p>\n","protected":false},"template":"","class_list":["post-18999692","topic","type-topic","status-publish","hentry","topic-tag-sidebar"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18999692","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18999692\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=18999692"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}