Carts still visible in backoffice, while not in the Database

We think we have found the problem.
This piece of code is what we have in our program.cs:

`app.Use(async (context, next) => {
	context.Response.OnStarting(() => {
		context.Response.Headers["Cache-Control"] = "public, max-age=31536000";
		return Task.CompletedTask;
	});
	await next();
});`

And it looks like that this is caching the carts, orders etc.

2 Likes