Anonymous committed f618cd5

Initial revision

Comments (0)

Files changed (1)


+<%@ page import="java.util.*" %>
+<%@ taglib uri="oscache" prefix="cache" %>
+<title>Test Page - Silent Mode</title>
+<style type="text/css">
+body {font-family: Arial, Verdana, Geneva, Helvetica, sans-serif}
+<a href="<%= request.getContextPath() %>/">Back to index</a><p>
+Testing the silent attribute...<br/>
+<cache:cache key="silentTest" mode="silent" duration="10s">
+This content was inserted into the cache silently. Duration = 10 seconds. Current time = <%= new Date() %>
+<br/>Some content has been silently cached<br/>
+<cache:cache key="silentTest">
+You should never get to see this text!