Title: Issue with Lite speedcache plugin
Last modified: June 14, 2024

---

# Issue with Lite speedcache plugin

 *  Resolved [djwilko12](https://wordpress.org/support/users/djwilko12/)
 * (@djwilko12)
 * [1 year, 12 months ago](https://wordpress.org/support/topic/issue-with-lite-speedcache-plugin/)
 * Hi
 * We’ve encountered an issue where any changes made to the sliders are not reflected
   on the front end unless we manually purge the cache. We use Litespeed cache plugin.
   We contacted their support and they replied the following:
    - please check with smart slider support, if their plugin has any hook we can
      useor kindly ask them to add this code to their save action`if ( defined('
      LSCWP_V')) {
      do_action( 'litespeed_purge_post', $post_id );}I assume it is
      saved like custom post type ,if it’s other type , can also try with the URL
      purge , e.g.do_action( 'litespeed_purge_url', '/slider-page/' );
 * Could you please check the above suggestions? How can we do to make both plugins
   work together correctly?
 * Thanks

Viewing 1 replies (of 1 total)

 *  Plugin Support [Laszlo](https://wordpress.org/support/users/laszloszalvak/)
 * (@laszloszalvak)
 * [1 year, 12 months ago](https://wordpress.org/support/topic/issue-with-lite-speedcache-plugin/#post-17825506)
 * Hi [@djwilko12](https://wordpress.org/support/users/djwilko12/)
 * Actually what is happening is the expected behavior when you use a cache plugin.
   Since the cache plugin stores the cached HTML of your post. When you publish 
   a slider to the post and you save the post, then by doing that, you did a modification
   in that post which triggers the “save_post” action:
    - [https://developer.wordpress.org/reference/hooks/save_post/](https://developer.wordpress.org/reference/hooks/save_post/)
 * that most cache plugins respect hence the cache for the post will be cleared.
 * But when you modify the slider, then you won’t modify the actual post, thus the
   post should still display the earlier cached results, unless you clear the cache
   manually.
 * On our end it is not possible to tell where you will display the sliders. But
   the good news is that, you can let us know by adding the ID of the corresponding
   post into the “Post IDs (One Per Line)” field on the Developer tab of each slider:
    - [https://smartslider.helpscoutdocs.com/article/1806-slider-settings-developer#post-ids-one-per-line](https://smartslider.helpscoutdocs.com/article/1806-slider-settings-developer#post-ids-one-per-line)
 * by doing this, we will trigger the “edit_post” and “save_post” actions on the
   posts with the IDs you entered, so if LiteSpeed Cache respects those actions,
   then those posts would start displaying the new results of your sliders each 
   time you make modifications, without having to clear the cache manually!
 * Best regards,
 * Laszlo.

Viewing 1 replies (of 1 total)

The topic ‘Issue with Lite speedcache plugin’ is closed to new replies.

 * ![](https://ps.w.org/smart-slider-3/assets/icon.svg?rev=2307688)
 * [Smart Slider 3](https://wordpress.org/plugins/smart-slider-3/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/smart-slider-3/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/smart-slider-3/)
 * [Active Topics](https://wordpress.org/support/plugin/smart-slider-3/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/smart-slider-3/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/smart-slider-3/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Laszlo](https://wordpress.org/support/users/laszloszalvak/)
 * Last activity: [1 year, 12 months ago](https://wordpress.org/support/topic/issue-with-lite-speedcache-plugin/#post-17825506)
 * Status: resolved