@Service(value=RequestScopedResourceModelCacheConfiguration.class) @Properties(value=@Property(name="service.vendor",value="neba.io")) public class RequestScopedResourceModelCacheConfiguration extends Object
RequestScopedResourceModelCache.public static final String PID
@Property(label="Enabled",
description="Activates the request-scoped cache for resource models.",
boolValue=true)
public static final String ENABLED
@Property(label="Safemode",
description="In safemode, caching is sensitive to the current page resource and request parameters such as selectors, suffix, extension and the query string. Should @ResourceModels erroneously cache such state, e.g. by initializing the corresponding value once in a @PostMapping method, safemode prevents errors caused when performing subsequent internal changes to the request state (e.g. during forwards and includes). Note that enabling this feature is likely to a significant negative performance impact. It is highly recommended to disable safemode in favor of safe-to-cache @ResourceModels.",
boolValue=false)
public static final String SAFEMODE
Copyright © 2014–2015. All rights reserved.