Hi,

I am having a really weird problem, I am trying to specify pipelines of type
'noncaching' but am finding that my pages are still getting cached! What I
am doing is 'overloading' my publication-sitemap.xmap to generate all
'Hotel' pages dynamically, whilst my real Hotel/index_en.xml is nothing more
but an empty document. What happens is that whatever is generated first time
for the Hotel page is getting cached, and since I have pagination
(controlled by request parameters), the initially loaded, cached Hotel page
gets returned for every 'page' request.

I have also tried to go into the sitemap.xmap and making 'noncaching' the
default pipeline type, but that did not improve the situation. What am I
doing wrong? A snippet from my publication-sitemap is below.


Thank you,

Vica


---------------------

publication-sitemap.xmap:

...

 <map:pipeline type="noncaching">
      <!-- Hotels Page Redirect -->
      <map:match pattern="lenya-document-*/*/**/Hotels/index_en.xml">
        <map:aggregate element="pagebody">
            <map:part src="xml/hotel_head.xml"/>
            <map:part src="cocoon:/search-bar"/>
            <map:part src="cocoon:/generate-hotel-listing"/>
            <map:part src="xml/useful_small.xml"/>
        </map:aggregate>
        <map:serialize type="xml"/>
      </map:match>

      <map:match pattern="generate-hotels">
        <map:generate type="serverpages"
src="xsp/select_box_component.xsp"/>
        <map:transform type="cinclude"/>
        <map:transform src="xslt/hotel_order_listing.xsl"/>
        <map:serialize type="xml"/>
      </map:match>


        <!-- ** The actual match which I REALLY dont want cached, since 
pagnation
does not work because the cache is                served up as page 2, 3, etc  
**-->

      <map:match pattern="generate-hotel-listing">
        <map:aggregate element="hotels">
            <map:part src="cocoon:/generate-hotels"/>
            <map:part src="cocoon:/city-list"/>
        </map:aggregate>

        <map:transform src="xslt/hotel_item.xsl"/>

        <map:transform type="filter">
            <map:parameter name="element-name" value="listItem"/>
            <map:parameter name="count" value="10"/>
            <map:parameter name="blocknr" value="{request-param:page}"/>
        </map:transform>

        <map:transform src="xslt/hotel_listing.xsl"/>
        <map:serialize type="xml"/>
      </map:match>
    </map:pipeline>

...


--
Disclaimer: This email is confidential and may contain privileged information 
for the sole use of the person or business to which it is addressed. If you are 
not the intended recipient, please notify the sender by return e-mail or phone 
as you must not view, disseminate, distribute or copy this email without our 
consent. We do not accept any liability in connection with any computer virus, 
data corruption, incompleteness, or unauthorised amendment of this email. It is 
the sole responsibility of the receiver to scan for viruses before opening.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to