Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-3883

ResourceReferences URL are not decorated with the CachingStrategy

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.5-RC6
    • wicket
    • 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 ).

      Attachments

        Activity

          People

            pete Peter Ertl
            svieujot Sylvain Vieujot
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: