Hello, In my application, I would like to cache the response of a JavaFlow method for the end users, and not for the admins. For that, I am using the two following pipelines : <map:match pattern="(admin|eu)/do_cached_(.*)$" type="regexp"> <map:select type="parameter"> <map:parameter name="parameter-selector-test" value="{1}" /> <map:when test="eu"> <map:redirect-to uri="cached:cocoon:/eu/do_{2}?cocoon:cache-expires=60" /> </map:when> <map:when test="admin"> <map:call function="{2}" /> </map:when> </map:select> </map:match> <map:match pattern="(admin|eu)/do_(.*)$" type="regexp"> <map:call function="{2}" /> </map:match> It works well except when I add the "cached:" protocol :( Is that possible to use the "cached" protocol for pipelines calling the FlowScript ? If no, do you know a workaround to that ? Best Regards, Nicolas --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] |
- Caching source protocol and flowscript Nicolas BOUSSUGE
- RE: Caching source protocol and flowscript Ard Schrijvers