Wicket
  1. Wicket
  2. WICKET-3883

ResourceReferences URL are not decorated with the CachingStrategy

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5-RC6
    • Component/s: wicket
    • Labels:
      None

      Description

      If you set your Application with getResourceSettings().setCachingStrategy( new FilenameWithTimestampResourceCachingStrategy() );

      Then in a WebPage#renderHead(IHeaderResponse response)
      response.renderCSSReference( MyResourceReference )
      generates an URL that is not decorated by the CachingStrategy.
      And the ResourceReference is cached forever.

      The same with a QueryStringWithTimestampResourceCachingStrategy generates a NPE (See WICKET-3882 ).

        Activity

        Hide
        Peter Ertl added a comment -

        all these things work for me in current wicket-trunk. Please verify and reopen the issue if any of these problems are still present.

        Show
        Peter Ertl added a comment - all these things work for me in current wicket-trunk. Please verify and reopen the issue if any of these problems are still present.

          People

          • Assignee:
            Peter Ertl
            Reporter:
            Sylvain Vieujot
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development