Uploaded image for project: 'Calendar'
  1. Calendar
  2. CAL-81

RSS feed of calendar should not be always cachable

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.2.0, 2.1.2
    • None
    • None
    • None
    • 4.2 M11

      In RSS pipeline it is always cacheable

      <map:match pattern="*/rss.xml">
           <map:act type="set-header">
                 <map:parameter name="X-Ametys-Cacheable" value="true"/>
           </map:act>
           ....
      </map>
       

      As for RSS url of web, it is should not be cacaheable if the service is configured with "user-access" limitation.

      See

      <map:act type="set-rss-header">
           <map:parameter name="protocol" value="{1}"/>
           <map:parameter name="zoneItemId" value="{2}"/>
      </map:act>
      

            laurence Laurence Aumeunier
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: