Details
-
Improvement
-
Resolution: Obsolete
-
Medium
-
3.8.6, 3.9.0, 4.0.2
-
None
-
Operating System: insignificant
PHP Version: insignificant
Database and version: insignificant
Browser (and version): insignificant
Description
Within the function generateObjectViewCache() it is checked if the Preview-Caching is enabled or not. So this function can't be used by other classes. Perhaps it is possible to split this function into two separate ones: generateObjectViewCache() and generateObjectViewCacheIfNeeded(). One contains the check and one doesn't.