Tagged: Page Cache, Page Fragment Caching
- AuthorPosts
Tommy
GuestHello,
other plugins have option to enter shortcodes from elementor which you wanna exclude from cache.
W3 Total Cache do not have an option to exclude elementor shortocdes which we enter in pagebuilder, right?
Its only possible to exclude shortcode from php code, is that correct?So finally if we use an elementor shortcode in elementor pagebuilder its not possible to exclude it from cache?
BR
TommyMarko Vasiljevic
KeymasterHello Tommy,
Thank you for reaching out, and I am happy to help!
First, please let me know which other plugin has the option to exclude shortcodes from Elementor from the cache, because I am not familiar with any plugin that has this ability, since for this, the only option is to use Fragment Caching, which no other plugin besides W3 Total Cache supports.
You can do this in two ways: the first way is with the W3TC and Page Fragment caching.
You can check more in the link provided. This is used to wrap the PHP code that fires the shortcode withand excludes that part of the page from the cache.
Please read the instructions carefully.
The other way is to use a plug-in like No cache Ajax Widget, which can help with loading the parts of the page with Ajax, therefore bypassing the cache.I hope this helps!
Thanks!
- AuthorPosts