U4-1994 - Allow additional params for Html.CachedPartial cache key to be passed in

Created by Matt Brailsford 23 Mar 2013, 20:46:30 Updated by Shannon Deminick 08 Jan 2014, 06:24:45

Html.CachedPartial currently supports cacheByPage and cacheByMember, but it would be handy if we could pass in extra params to become part of the cache key. This would allow devs to create custom cache rules (ie, based upon a querystring param for paging, or the current culture code for multilingual content).


Marc Brooks 30 Sep 2013, 23:57:21

I've implemented something pretty flexible for this in https://github.com/umbraco/Umbraco-CMS/pull/143

Priority: Normal

Type: Feature (request)

State: Fixed

Assignee: Shannon Deminick

Difficulty: Very Easy


Backwards Compatible: True

Fix Submitted: Pull request

Affected versions: 4.11.5, 6.1.3, 6.1.4, 6.1.5, 6.1.6

Due in version: 6.2.0, 7.0.2


Story Points: