I’m seeking advice on setting up a real-world implementation of Optimizely SaaS with Next.js. Here’s our setup:
Optimizely SaaS CMS for content editing.
Content Graph subscription to expose content.
Next.js rendering host to render content.
Questions:
On-Page Editing Setup:
I’m considering using a separate Next.js editing host for CMS users to preview content and enable On-Page Editing.
However, I’m unsure how the editing host will fetch content. Specifically:
Will we require an additional Content Graph subscription?
If not, how can the editing host query unpublished content from Content Graph?
Multisite Setup in Next.js:
For multisite scenarios (e.g., Mosey Bank and Music Festival demos), we currently use the getContentByPath query to fetch content from Content Graph based on the URL.
This approach doesn’t seem robust or scalable. Are there better alternatives for multisite content retrieval?
I’d appreciate any insights, suggestions, or best practices for addressing these challenges.
Hi all,
I’m seeking advice on setting up a real-world implementation of Optimizely SaaS with Next.js. Here’s our setup:
Questions:
On-Page Editing Setup:
Multisite Setup in Next.js:
getContentByPath
query to fetch content from Content Graph based on the URL.I’d appreciate any insights, suggestions, or best practices for addressing these challenges.
Thank you in advance!