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

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.0
    • Component/s: None
    • Labels:
      None
    • Similar issues:
    • Story Points:
      1
    • Processed by team:
      Pulsar
    • Sprint:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: