Help needed with CloudFront and LiteSpeed Cache




Wordpress LScache Plugin: Help needed with CloudFront and LiteSpeed Cache

Last Updated on: Wed, 15 Apr 2026 00:00:02
I am trying to get CloudFront set up correctly and working with LiteSpeed Cache. I have created my Distribution in CloudFront- the Distro is Enabled and Deployed. I want a Pull setup- so my Origin URL is mysite.com, in CloudFront I have entered the Distro URL into LiteSpeeds CDN settings. Now heres the problem:- While I remain logged into WP (as the Admin), then any page I go to (front or backend) has assets served from CloudFront. However, as soon as I log out of WordPress and then visit the front end site pages- all assets are coming from my server, and not CloudFront Why is it only changing the asset Urls (to the Distro URL) when I am logged in? Thanks Hi, Please provide the report number , you can get it in toolbox -> report -> click send to LiteSpeed Best regards, Report number: JVIJOIVD Report date: 03/02/2021 23:35:58 Thanks from report , your CDN URL is empty make sure you set it correctly , e.g. https://cdn.domain.com/ , dont miss https:// and / then purge all Apologies- I removed all the entries from the CDN settings- and disabled it- whilst I sought Tech Support. Ive put the CDN URL back in, Enabled CDN, purged All and then generated a new Report? Report number: FZHGYMOC Report date: 03/02/2021 23:52:34 Thanks Hi, it works now , you didnt see it ? this is your CloudFront domain Best regards, I have just created a new Test page in WordPress. And I then logged out of WP- and entered the URL mysite.com/test And I get?.. Server Error 403 Forbidden You do not have permission to access this document This is with CDN enabled. The other couple of pages that I already have in WP (its a brand new site) seem to be working OK AND getting their assets from CloudFront. then you need to check with your plesk log , see why it gives 403 this has nothing to do with CDN URL OK. Many thanks for your help sorting the CDN



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference