Tapestry 5
  1. Tapestry 5
  2. TAP5-90

Context assets should be versioned and provided with a far future expires header, just like classpath assets

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 5.0.15
    • Fix Version/s: 5.1.0.0
    • Component/s: None
    • Labels:
      None

      Description

      This is as-per YSlow recommendations, assets in the context (i.e., the context: asset prefix) should be treated like classpath: assets; the URL sent to the browser should reflect a version number (defined by the application) and the files should be given a far future expiration date.

      So the URL might be "/app-assets/1.2.3/images/logo.gif" for a file referenced as "context:images/logo.gif". The application would define the version number. It would be the developer's responsibility to advance the version number whenever the context files change (i.e., on each new deployment of the application).

        Activity

        Howard M. Lewis Ship made changes -
        Status In Progress [ 3 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Fix Version/s 5.1.0.0 [ 12313428 ]
        Howard M. Lewis Ship made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Howard M. Lewis Ship made changes -
        Assignee Howard M. Lewis Ship [ hlship ]
        Howard M. Lewis Ship made changes -
        Issue Type Bug [ 1 ] New Feature [ 2 ]
        Howard M. Lewis Ship made changes -
        Affects Version/s 5.0.15 [ 12313429 ]
        Howard M. Lewis Ship made changes -
        Field Original Value New Value
        Fix Version/s 5.1 [ 12312964 ]
        Affects Version/s 5.0.11 [ 12312968 ]
        Key TAPESTRY-2374 TAP5-90
        Issue Type Improvement [ 4 ] Bug [ 1 ]
        Component/s tapestry-core [ 12311285 ]
        Project Tapestry [ 10573 ] Tapestry 5 [ 12310833 ]
        Howard M. Lewis Ship created issue -

          People

          • Assignee:
            Howard M. Lewis Ship
            Reporter:
            Howard M. Lewis Ship
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development