Cookie EPi:StateMarker and EPi:ViewedPages in bot requests

Fixed in

EPiServer.CMS.Core 11.14.2

Created

Sep 27, 2019

Updated

Feb 28, 2020

Area

CMS Core

State

Closed, Fixed and tested


Description

From CMS 11.9, there are 2 cookies EPi:StateMarker and EPi:ViewedPages.

With bot requests (i.e load impact or from an HttpWebRequest from code, not from a browsers), when these cookies are set, .Net framework adds the "no-cache="Set-Cookie"" to the Cache-Control header automatically makes the cache server not caching the whole response.
This can have a negative performance impact on the cache.

Expect: Cookies not set when doing bot requests.