We recently upgrade a solution to JSS 22.3.1. We were already on 22.1.x, so this felt like a pretty straight-forward upgrade. And, for the most part, it was. One thing that was a bit of a pain in the butt was opening up our container logs and seeing a flood of warnings like the title….
Moving Sitemap.xml Generation to the Head
A standard part of every website is the Sitemap XML. Traditionally, the CM instance (XM Cloud included) generates this XML file (or files) and stores it in the media library and publishes to Edge it with each publish. Your headless application pulls this from Edge and streams it out to the browser. That’s pretty simple…
Excluding Stories Files from Component Builder
It’s been a hot minute since I ventured deep into the innards of Component Builder. I’d like to think I learned a few things since the last time. Maybe yes…Maybe no…Maybe maybe.!…
XM Boilerplate Updates for 10.4
Sitecore has been pretty public that 10.4 was coming in April and it seems to have just snuck in there! There’s a bunch of ways to roll out your local 10.4 environment: Docker SIA Manually (Don’t do this) I like to think of myself pretty saavy with the Docker, so I opted for the former:…
Next.js Multisite Addon Always Resolves to Default Site
The instances of Sitecore with more than one site are on the rise. SXA allows for templated Site and Tenant Management, and Sitecore even released a special Multisite Addon which handles all the resolution of sites by hostname, just like the way things used to be! This could have easily been Borat However, we were…
Virtual User Group Presentation – March 2024
Last week, I had the honor of presenting at the Virtual Sitecore Headless Development User Group, organized by Martin Miles. It was a great chance to throw down some knowledge on all the fun things you can do with SSG and ISR, things I find near and dear to my heart. Like cheeseburgers. And bacon…
Next.js Multisite constantly reloading
Here’s a quick and dirty one today… We’re setting up a new solution with a few Sitecore sites as a foundation. Let’s call them Site A (siteA.com and Site B (siteB.com). (Sorry for the lack of creativity.). The directions for this can be found on the Sitecore Multisite Add-on Docs. When browsing to siteA.com, things…
Vercel’s “An unexpected error happened when running this build.”
Imagine a world where everything works all the time, and there are no weird-ass errors to troubleshoot. Sounds boring, yeah? Good thing it’s not a real place. Fantasies aside, sometimes things that have been working for ages just stop working. We ran into that case just recently with a project. This project has been live…
SPE-based On-demand ISR in NextJS
If you’ve made the jump to Headless with NextJS, Vercel, and Edge, you’re likely using Static Site Generation (SSG) at build time, and you’re likely going to be using Incremental Static Regeneration (ISR). SSG is useful to build some or all of the pages before your deployment is complete, thus giving users immediate access to…
Solved: Connection to your rendering host failed with a Payload Too Large
Imagine you’re walking your dog/cat/sheep/child whatever and you come across a hole in the ground. It looks like some furry critter dug a hole. Nothing weird. Now you head over to examine a hole, and out pops a dolphin. You may say WTH. That’s kinda the same response I had yesterday when I solved this…
-
Recent Posts
Categories
Archives
- December 2024
- October 2024
- September 2024
- August 2024
- April 2024
- March 2024
- February 2024
- January 2024
- October 2023
- September 2023
- August 2023
- July 2023
- June 2023
- March 2023
- November 2022
- October 2022
- September 2022
- August 2022
- July 2022
- May 2022
- March 2022
- November 2021
- September 2021
- August 2021
- July 2021
- May 2021
- April 2021
- February 2021
- November 2020
- October 2020
- August 2020
- July 2020
- June 2020
- March 2020
- January 2020
- October 2019
- May 2019
- March 2019
- February 2019
- January 2019
- December 2018
- July 2018
- May 2018
- February 2018
- January 2018
- November 2017
- October 2017
- September 2016
- August 2016
- July 2016
- June 2016
- May 2016
- April 2016