Title: Shared private cache
Last modified: June 4, 2026

---

# Shared private cache

 *  Resolved [Gerard Blanco](https://wordpress.org/support/users/sixaxis/)
 * (@sixaxis)
 * [2 days, 20 hours ago](https://wordpress.org/support/topic/shared-private-cache/)
 * Hi team,
 * Our website is behind a login gate, which means that everyone must be logged 
   into it in order to browse it.
 * That poses a problem, because now LSCWP will generate one cache file for every
   user (private cache). So virtually everyone is getting cache misses the first
   time they access. Is it possible to have the same cache for all logged-in users?
 * Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [2 days, 8 hours ago](https://wordpress.org/support/topic/shared-private-cache/#post-18929223)
 * unfortunately no , the closest thing you can try is the ESI feature, that should
   create a public cache among login users , and fill in private info with ESI block,
   but this may require some custom code to generate ESI blocks
 * ref: [https://docs.litespeedtech.com/lscache/lscwp/api/#generate-esi-block-url](https://docs.litespeedtech.com/lscache/lscwp/api/#generate-esi-block-url)
 *  Thread Starter [Gerard Blanco](https://wordpress.org/support/users/sixaxis/)
 * (@sixaxis)
 * [1 day, 21 hours ago](https://wordpress.org/support/topic/shared-private-cache/#post-18929750)
 * All right, thank you

Viewing 2 replies - 1 through 2 (of 2 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fshared-private-cache%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/litespeed-cache/assets/icon-256x256.png?rev=2554181)
 * [LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/litespeed-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/litespeed-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/litespeed-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/litespeed-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/litespeed-cache/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Gerard Blanco](https://wordpress.org/support/users/sixaxis/)
 * Last activity: [1 day, 21 hours ago](https://wordpress.org/support/topic/shared-private-cache/#post-18929750)
 * Status: resolved