Anonymous avatar Anonymous committed 94007e3

- CacheFilter caches response for 60secs now
- changed the jsp tag uri due to changes in release 2.1.1

Comments (0)

Files changed (1)

src/webapp/WEB-INF/web.xml

     <display-name>OSCache</display-name>
 
     <filter>
-        <filter-name>oscache</filter-name>
+        <filter-name>CacheFilter</filter-name>
         <filter-class>com.opensymphony.oscache.web.filter.CacheFilter</filter-class>
+            <init-param>
+                <param-name>time</param-name>
+                <param-value>60</param-value>
+            </init-param>
     </filter>
 
     <filter-mapping>
-        <filter-name>oscache</filter-name>
+        <filter-name>CacheFilter</filter-name>
         <url-pattern>/filter/*</url-pattern>
     </filter-mapping>
 
     </listener>
 
     <servlet>
-        <servlet-name>oscache</servlet-name>
+        <servlet-name>OSCacheServlet</servlet-name>
         <servlet-class>com.opensymphony.oscache.web.OscacheServlet</servlet-class>
         <load-on-startup>1</load-on-startup>
     </servlet>
 
     <servlet-mapping>
-        <servlet-name>oscache</servlet-name>
+        <servlet-name>OSCacheServlet</servlet-name>
         <url-pattern>/cacheServlet/*</url-pattern>
     </servlet-mapping>
 
         <session-timeout>5</session-timeout>
     </session-config>
 
-    <taglib>
-        <taglib-uri>oscache</taglib-uri>
-        <taglib-location>/WEB-INF/oscache.tld</taglib-location>
-    </taglib>
-
 </web-app>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.