Since Next.js is becoming the most popular choice with Sitecore projects which is a great and very powerful combination, I want to share an important security point that you maybe missing or have not noticed yet. When working with Next.js in Sitecore XM Cloud or Sitecore Headless JSS projects, one common issue is that the … Continue reading Your Sitecore Next.js Source Code May Be Exposed
Vercel
Sitecore on Vercel: Tips for Optimizing Your Application Usage and Keeping Costs Down
Deploying your Sitecore application on Vercel might come as a surprise if you're accustomed to hosting on platforms like Azure or on-prem servers. While Vercel offers an impressive infrastructure, it works quite differently from traditional hosting solutions. Therefore, it's essential to understand how Vercel charges for its services and how to optimize your application to … Continue reading Sitecore on Vercel: Tips for Optimizing Your Application Usage and Keeping Costs Down
Cache Revalidation in Sitecore Website Built Using Next.js Incremental Static Site Generation
In the ever-evolving world of web development, delivering highly performant and dynamic websites is crucial. When building a Sitecore website with Next.js, utilizing Incremental Static Site Generation (ISSG) and hosting it on Vercel, one of the key aspects to ensure optimal performance and up-to-date content delivery is on-demand cache revalidation. This blog will dive into … Continue reading Cache Revalidation in Sitecore Website Built Using Next.js Incremental Static Site Generation
Next.js API Route for On-Demand Cache Revalidation using pages or app folder
If you're looking for an API endpoint implementation that can take a dynamic path from a query string to revalidate page cache and force page regeneration, you've come to the right place. The biggest challenge with using statically generated sites is the difficulty of pushing content updates quickly in urgent situations. You can't set the … Continue reading Next.js API Route for On-Demand Cache Revalidation using pages or app folder