You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "David Crossley (JIRA)" <ji...@apache.org> on 2006/03/01 08:14:40 UTC

[jira] Updated: (COCOON-1527) [PATCH] Cache control logic sheets for XSP to override getKey and getValidity

     [ http://issues.apache.org/jira/browse/COCOON-1527?page=all ]

David Crossley updated COCOON-1527:
-----------------------------------

    Bugzilla Id:   (was: 35275)
     Other Info: [Patch available]
    Description: 
The following patch introduces two logic sheets (key.xsl and validity.xsl) that
make it easy to specify cache key and validity of XSPs. For example, you can 
write

<key:key>
    <xsp-request:get-parameter name="key"/>
</key:key>
<validity:validity>
    <validity:expires>10000</validity:expires>
</validity:validity>

instead of Java code. Also included are some sample XSP pages.

  was:
The following patch introduces two logic sheets (key.xsl and validity.xsl) that
make it easy to specify cache key and validity of XSPs. For example, you can 
write

<key:key>
    <xsp-request:get-parameter name="key"/>
</key:key>
<validity:validity>
    <validity:expires>10000</validity:expires>
</validity:validity>

instead of Java code. Also included are some sample XSP pages.


> [PATCH] Cache control logic sheets for XSP to override getKey and getValidity
> -----------------------------------------------------------------------------
>
>          Key: COCOON-1527
>          URL: http://issues.apache.org/jira/browse/COCOON-1527
>      Project: Cocoon
>         Type: Improvement
>   Components: * Cocoon Core
>     Versions: 2.1.8
>  Environment: Operating System: other
> Platform: Other
>     Reporter: Jochen Kuhnle
>     Assignee: Cocoon Developers Team
>     Priority: Minor
>  Attachments: xspcache.patch
>
> The following patch introduces two logic sheets (key.xsl and validity.xsl) that
> make it easy to specify cache key and validity of XSPs. For example, you can 
> write
> <key:key>
>     <xsp-request:get-parameter name="key"/>
> </key:key>
> <validity:validity>
>     <validity:expires>10000</validity:expires>
> </validity:validity>
> instead of Java code. Also included are some sample XSP pages.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira