litespeedtech / lscache-laravel

LSCache for Laravel framework
GNU General Public License v3.0
51 stars 14 forks source link

Private caching without ESI #23

Closed binaryfire closed 3 years ago

binaryfire commented 3 years ago

Hi guys,

Someone on Slack mentioned private caching won't work without ESI. I'm using OpenLiteSpeed so I won't be able to use ESI.

Is there any way to work around this? I'm moving from WordPress to Laravel and have been enjoying private caching on OLS via the WordPress LSCache plugin.

I'd prefer not to lose that if possible!

Cheers

lucasRolff commented 3 years ago

You can use private caching without ESI as long as the webserver supports it. The Laravel lscache package does not have any logic that would prevent this.

binaryfire commented 3 years ago

@lucasRolff Great! That's what I suspected. Thanks for confirming