Skip to content

breaking change, need cache profile for sitemap #5

@joeaudette

Description

@joeaudette

The most recent cloudscribe Core nuget packages now depend on cloudscribe.Web.SiteMap and cloudscribe.Web.SiteMap.FromNavigation

This was done in order to solve the /api/sitemap not working with folder tenants
cloudscribe/cloudscribe.Web.Navigation#46

previous versions did not have these dependencies, only SimpleContent had them

after upgrading to the newest nuget packages you will get an error and need to add this if you don't already have it. Sites that use SimpleContent should already have this but if you only use cloudscribe.Core.Web then it would not have been added by previous versions of our project template.

services.Configure<MvcOptions>(options =>
{
    options.CacheProfiles.Add("SiteMapCacheProfile",
	 new CacheProfile
	 {
		 Duration = 30
	 });
});

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions