Skip to content

Browsers cache lift.js even if source has changed. #1755

Open

Description

@joescii

As pointed out in this thread on the ML, Lift 3's lift.js artifact will be cached by browsers. I have verified that changes to lift.js do not in any way trigger a refresh of the asset in the browser. This will cause browsers to use older version of lift.js as teams upgrade Lift versions.

Activity

  1. self-assigned this
    on Jan 24, 2016
  2. Shadowfiend commented on Jan 27, 2016

    @Shadowfiend
    Member

    We can, if we want to, make lift.js also alias as lift-3.0.0.js, so you can include the version in the script reference.

    (The good news is, lift.js changes are (a) relatively rare and (b) usually internal.)

  3. joescii commented on Jan 29, 2016

    @joescii
    ContributorAuthor

    Yep, I certainly agree they're rare. But rare things that need manual intervention are arguably more harmful than a frequent change requiring manual handling.... it's easy to forget!

  4. Shadowfiend commented on Jan 31, 2016

    @Shadowfiend
    Member

    For sure!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions