Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-3622

Improve the caching options for all (external) rest pipelines

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 4.0.0
    • 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

          Activity

            People

              Unassigned Unassigned
              aschrijvers Ard Schrijvers
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: