Hi!

I was reading this:
http://docs.codehaus.org/display/JETTY/LastModifiedCacheControl

It says "The Jetty default servlet allows the cache control header to
be set for static content by using the cacheControl init parameter
using
<init-param>
  <param-name>cacheControl</param-name>
  <param-value>max-age=3600,public</param-value>
</init-param>
"

However, I am not sure that I am using the default servlet. At least
such configuration is not in web.xml:


<web-app>
    <display-name>Wicket QuickStart</display-name>
        <context-param>
          <param-name>configuration</param-name>
          <param-value>development</param-value>
        </context-param>
    <servlet>
        <servlet-name>quickstart</servlet-name>
        
<servlet-class>org.apache.wicket.protocol.http.WicketServlet</servlet-class>
        <init-param>
          <param-name>applicationClassName</param-name>
          <param-value>wicket.quickstart.WicketApplication</param-value>
        </init-param>
        <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
        <servlet-name>quickstart</servlet-name>
        <url-pattern>/*</url-pattern>
    </servlet-mapping>
</web-app>


How do you add cache configuretion there, for the static resources in
/src/webap/* (/src/webap/images, /src/webap/css, /src/webap/js, etc.)

?

**
Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to