Hi all,

We have 4 basePages for which the markup resides in a drupal site(created a
ResourceStreamLocator extension for that). All our other pages extend from
these.

Now the problem is that these basePages get cached and the cache does not
get invalidated.
We get the up-to-date last-modified header from drupal but wicket seems to
simply ignore it.

Issue lies in Connections class: the static method getLastModified(URL url)
creates a URLConnection, but then calls setDoInput(false) before calling
connection.getLastModified().
URLConnection.getLastModified always returns 0 when doInput is set to
false, no connection is even set up when doInput is false.

Why is this doInput field set to false?

We use Wicket 1.5.12.

Kind regards,

Stijn Niclaes

Reply via email to