U4-7811 - Content type repositories should use FullDataSetRepositoryCachePolicyFactory for performance

Created by Shannon Deminick 21 Jan 2016, 18:33:05 Updated by Claus Jensen 27 Jan 2016, 13:21:26

Relates to: U4-7807

We consistently need to load in all content types, but currently we are caching these individually by Id, worse is that the normal lookups required are done by alias which are not cached at all. Like the language, public access, and domain repositories, the content types repositories should use FullDataSetRepositoryCachePolicyFactory and cache all results in a single list which is then used to query against.

I've discovered that this saves quite a lot of queries during startup and can now see startup at less than 1 second in some cases.


Shannon Deminick 21 Jan 2016, 18:34:07

This needs to be backported for this version, rev: 07d50464cc5530bd0890b7d14c293f5829ab97db

Shannon Deminick 22 Jan 2016, 16:08:24

I have backported now.

Claus Jensen 27 Jan 2016, 13:21:26

Good catch!

Priority: Normal

Type: Performance Problem

State: Fixed


Difficulty: Normal


Backwards Compatible: True

Fix Submitted:

Affected versions:

Due in version: 7.3.6

Sprint: Sprint 7

Story Points: