Uploaded image for project: 'Guacamole'
  1. Guacamole
  2. GUACAMOLE-275

Control caching of extension JS/CSS

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Done
    • None
    • 1.4.0
    • guacamole
    • None

    Description

      Guacamole combines the JS from extensions and rolls it into app.js. It then cache-busts by adding a version string to the app.js (eg: app.js?v=0.9.12-incubating).

      This works great for preventing a browser from serving up JS from older Guacamole code. But it does nothing to prevent the code from older extensions from being loaded. We change our extension periodically and there isn't always a new Guacamole version out. This can lead to backwards-incompatible changes breaking the application.

      Can some sort of cache busting or expiration of some sort be added?

      Preferably, in the ResourceServlet there'd be some new headers added, eg: Cache-Control: no-cache or at least an Expires header

      Attachments

        Issue Links

          Activity

            People

              mjumper Mike Jumper
              dborth@hatsize.com Daryl Borth
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: