Details
-
Improvement
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
-
None
-
1
-
Platform sprint 130, Platform sprint 131
Description
Proposal: To the restApiPipeline, JaxrsRestContentPipeline and JaxrsRestPlainPipeline add :
<ref bean="pageInfoRenderingValve" />
<ref bean="pageCachingValve"/>
Note that the 'pageInfoRenderingValve' is required, see HSTTWO-3618
note the page caching only gets activated when you set hst:cacheable = true on mount/sitemapitem
Secondly, I want to remove the noCacheResponseHeadersValve from JaxrsRestContentPipeline and JaxrsRestPlainPipeline: let end projects inject this valve themselves! It is very unhandy that we now by default have all kind of no caching headers set which is general is undesirable. I'll create upgrade documentation for this that in case a project depends on the noCacheResponseHeadersValve (for some reason they need it), that they can add it themselves
Attachments
Issue Links
- relates to
-
HSTTWO-3618 HST page caching valve does not work with (old and perhaps new) REST API
- Closed