I am running a Kentico 12.0.96 MVC site and I have ran into an issue where using alternative URLs seem to always bypass the output cache. For example we have a generic page type with a URL pattern set to: /genericpage/{%NodeGUID%}
. The alternative URL mode is set to rewrite.
When the page is requested via a URL such as /genericpage/f0423dbb-508c-4d4e-936f-10e2ee539417/
cache hits and it works as expected. But if the alternative URL is used, such as /contact
the cache is never hit.
The controller is using the default cache profile.
[OutputCache(CacheProfile = "Default", VaryByParam = "pageId")]
public ActionResult Index(Guid pageId){}
Has anyone experienced this issue?