Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

248
Views
Javascript module versioning

In my web application I developed several (vanilla+jQuery) javascript modules. Unfortunately I don't know how to manage their versioning.

The argument of script versioning is very discussed and has different solution as described here for example. Instead in case of modules I didn't found any valid mechanism to version my files.

An example of my code is:

myJsFile.js

import A from './js/A.js';

const a = new A();
a.doStuff();

A.js

export default class A {

    constructor() {}

    doStuff() {
        console.log("I hope to have a version, one day");
    }
}

How can I prevent browsers from using old cached versions of module A?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!