You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2005/06/08 22:43:35 UTC

DO NOT REPLY [Bug 35275] New: - Cache control logic sheets for XSP to override getKey and getValidity

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=35275>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35275

           Summary: Cache control logic sheets for XSP to override getKey
                    and getValidity
           Product: Cocoon 2
           Version: Current SVN 2.1
          Platform: Other
        OS/Version: other
            Status: NEW
          Keywords: PatchAvailable
          Severity: enhancement
          Priority: P2
         Component: core
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: werbung@kuhnle.net


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.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.