CDN on site that requires login, will it work?

Hi all,

We are using a social media PHP site that requires a login to read content. Can CDN save assets if they are behind a login page and not publicly available?



It’ll probably work. In most membership plugins, it’s only the PHP requests that will check if you are authorized to view the page. Requests to static assets are not protected in the same way. You can do a simple check by opening one of the images in an incognito tab where you are not logged in. If the image still loads then it can be cached by a CDN.

Thanks Russell,
I appreciated the response. I couldn’t get it to work, so I moved it to AWS Cloudfront, which had more settings.