0

I am using the NextJS JavaScript library.

Is it possible to deploy a headless CMS such as Strapi on a CDN since the website should be generated static?

ib.
  • 27,830
  • 11
  • 80
  • 100
Pilot Tt
  • 23
  • 3

2 Answers2

1

As mentioned on Strapi homepage :

"You can now generate pages at deployment time and serve them over a CDN (...)".

Static pages need to be generated during deployment and then send over to a CDN (AWS S3 + AWS Cloudfront for example).

I suggest you read the full documentation :
https://strapi.io/documentation/3.0.0-beta.x/deployment/amazon-aws.html

wlarcheveque
  • 894
  • 1
  • 10
  • 28
0

this is the most weird question I ever asked, the Strapi is a web app that requires a node server to be run at, so obviously it is not possible to serve it on the CDN (as the CDN is a serverless solution that may serve only static files)

Pilot Tt
  • 23
  • 3