Two Interesting New Features In Sitecore XP 10.1

Karega Anglin - Senior Sitecore Developer

1 Mar 2021

Share on social media

In reviewing the recent feature release of Sitecore XP 10.1, had some quick thoughts around two particularly interesting features

  1. Sitecore CLI
  2. GeoIP Changes

Sitecore CLI ??

So yes, Sitecore now has a Sitecore CLI which allows you to install packages or plugins directly from the command line.

"The CLI comes with a built-in plugin command to add, update, list, and remove plugins from your project."

And it looks like:


sitecore plugin add -n <name of plugin> -v <version of plugin>


sitecore plugin remove -n <name of plugin>


sitecore plugin list

Basically, this is an extension of Nuget Package Manager, just Sitecoreized ... WTG Sitecore!

GeoIP Changes

Sitecore has an API that works with the geolocation service, which gives returns data such as country/region and city from an IP request.

Sitecore.CES.GeoIp.Core.IGeoIpManager.GetGeoIpData(string ipAddress,TimeSpan? timeout = null)

What makes this nicer, is that instead of trying to persist this ourselves in some layer of caching and then worrying about how to manage that, Sitecore was thoughtful enough to provide THREE (3) levels of information retrieval!!

Three levels of information retrieval with the benefit of the reduced cost of data retrieval.

  1. Memory Cache
    • Obviously and logically the quickest, and you get to manage the size and how long for each IP address in the cache.
  2. Database
    • Again a logical level of caching. There is a table called [VisitGeoIpData],  which stored the IP address and GeoIP data (encrypted of course). Quite a number of configurable settings on this such as:
      • GeoIP data lifetime
      • Database used
      • Clean up agent
  3. Geolocation service
    • Finally, you got to make the round trip to the service to get the data fresh. But don't worry, it will be cached in the upper 2 layers as per caching best practices.

So just a few things to look forward to in Sitecore 10.1 and beyond.

Sign up to our newsletter

Share on social media

Karega Anglin

With over 7 years experience specializing in the Sitecore CMS platform, and more than 10 years in Applications Development, Karega has helped to implement and maintain several high-profile organization websites such as Toronto Transit Commission, Sick Kids Foundation and Ontario College of Teachers. He holds a MSc in Computer Science from the University of the West Indies Jamaica and certifications in both Sitecore CMS .NET and Machine Learning (Coursera).

When not creating software, Karega engages in ministry at his local church and social programs in his community. He is also plays the Bass and Electric Guitar and is inspired by musical the genres such as Gospel, Jazz, Retro/Funk and Latin.

Karega can often be found learning the next new thing in Software development and Artificial Intelligence and believes strongly in always keeping tabs on emerging Tech for the benefit of Society.

Subscribe to newsletter