Hi, I am having trouble disabling caching of JSPs for components and custom
controls. (Using Magnolia cache 4.5.3, with a 4.5 major version of Magnolia.)
I diligently read through the entire documentation page, and I have tried
everything I could think of:
/server/filters/cache set 'enabled' to false - on refresh of the page that
contains, for example, the custom control results in the same page without the
changes that I made. This behavior is the same across components, areas, and
other magnolia-controlled content.
/modules/cache/config/configurations/myConfig/cachePolicy : 'class' to
info.magnolia.module.cache.cachepolicy.Never doesn't have the desired effect.
/modules/cache/config/configurations/myConfig/cachePolicy :
'refreshOnNoCacheRequests' to true doesn't have the desired effect.
/modules/cache/config/configurations/myConfig/browserCachePolicy : 'class' to
info.magnolia.module.cache.browsercachepolicy.Never doesn't have the desired
effect.
/modules/cache/cacheFactory/defaultCacheConfiguration : 'eternal' to false,
'timeToIdleSeconds' 1, and 'timeToLiveSeconds' 2, doesn't work. I was
skeptical of this, but it was a last resort.
/modules/cache/config/configurations/myConfig/cachePolicy
'refreshOnNoCacheRequests' to true with an ebedding of <%
response.setHeader("Cache-Control", "no-cache"); %> in the JSP doesn't yield
the desired results.
I also verified that we set magnolia.develop=true in our magnolia.properties,
but this doesn't prevent the caching either. Actually, IntelliJ indicates that
this value is never used, which is curious.
Am I missing something?
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=f09c563a-3bdb-4757-8b70-4def3d9f097f
----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------