Wordpress LScache Plugin: LiteSpeed Cache with user based website
Last Updated on: Wed, 15 Apr 2026 00:00:02 Hello there I have a website that start with a login page. All the website is only accessible to connected users. When a user is connected, he has access to a listing of videos that he can filter by categories, duration, ? He also can create its own playlist and choose which video to put in that playlist. I would like to add LiteSpeed Cache but the cache must be user dependent , as the my-playlists page will differ for each user. What should I be careful of when setting the plugin ? Thank you in advance, Cedric Hi, go to cache -> enable cache login user Best regards, Hi qtwrk ! Thank you for your answer. I have : 1. a page that lists video. Each video has a button to add the video to a playlist (the add action is made with ajax request, which basically add the video ID in a custom field in that playlist ? with update_post_meta). 2. a page where the playlist is described with the videos associated to it. The problem: if I visit the playlist page (version A), than go to the videos listing and add/remove a video from that playlist (version B) and go back to the playlist page, the changes are not shown. I still have the version A of the playlist (but in the back-end version B is shown). Is there a way to solve this? Thank you for your time. Kind regards, Cedric Hi, You can try : 1. disable the cache on playlist page 2. add a purge hook on your add/remove function , by that saying , whenever you click add or remove , this corresponding page will be purged , in order to get the new content. do_action( litespeed_purge_post, $post_id ) or do_action( litespeed_purge_private_all ) Best regards,
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference