Is it posible to cache some parts of a page but not others (fragmented caching)?




Wordpress LScache Plugin: Is it posible to cache some parts of a page but not others (fragmented caching)?

Last Updated on: Wed, 15 Apr 2026 00:00:02
Hi guys, Is it possible to cache some parts of page content but not others? This is sometimes call fragmented caching. For example I have this page https://bitedge.com/odds-comparisons/english-premier-league/ That displays game toggles and the content inside them which is updated every 10 minutes, so I dont want it cached. But everything else on the page and site I do want cached like normal. So is there a way to exclude the game toggles and their content from caching on an otherwise cached page? If not, let this be a feature request Thanks The page I need help with: https://bitedge.com/odds-comparisons/english-premier-league/ Hi @whatwhatwhatwhat, Our plugin allows you to exclude a specific page from caching by URIs, Query Strings, Categories, Tags, Cookies, its on LiteSpeed Cache > Settings > Excludes page. Please check the below page for more details: https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:excludes Hi @whatwhatwhatwhat, You also can try our ESI feature to solve the issue. Please take a look at https://blog.litespeedtech.com/2017/09/06/wpw-esi-and-litespeed-cache/ If you are using shortcode, an easier way is to try making it an ESI shortcode. Here is the wiki: https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:esi:shortcode Please feel free to let us know if you have any questions! Thanks, Stanley



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference