{"id":14247866,"date":"2021-03-29T09:33:07","date_gmt":"2021-03-29T09:33:07","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/esi-removes-widget-content\/"},"modified":"2021-03-29T09:33:07","modified_gmt":"2021-03-29T09:33:07","slug":"esi-removes-widget-content","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/esi-removes-widget-content\/","title":{"rendered":"ESI removes widget content"},"content":{"rendered":"<p>I have two header sections in widgets that display content based on the time (for a radio station). To uncache these widgets I set the ESI to public or private and ttl to 0.<\/p>\n<p>However periodically, the entire content is removed, and I have to go in and resave the settings to make them reappear. This might happen after a few hours or a few days.<\/p>\n<p>Here is an example, where it just has generated text rather than the widget content:<\/p>\n<p>&lt;div class=&#8221;comingup&#8221;&gt;<br \/>\n\t\t\t&lt;!&#8211; lscwp widget WP_Widget_Text &#8211;&gt;&lt;!&#8211; Block generated by LiteSpeed Cache 3.6.4 on 2021-03-29 02:09:47 &#8211;&gt;&lt;!&#8211; lscwp widget WP_Widget_Text esi end &#8211;&gt;<br \/>\n\t&lt;\/div&gt;<\/p>\n<p>Please can you advise a permanent fix for this, as obviously very frustrating having to keep periodically checking if the plugin has removed content or not!<\/p>\n<p>Cheers in advance!<\/p>\n","protected":false},"template":"","class_list":["post-14247866","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/14247866","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\/14247866\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=14247866"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}