Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-11492 New Camel website
  3. CAMEL-13816

Cache busting for CSS and JavaScript

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Implemented
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: website
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      Seems that not loading the latest CSS causes issues with the website, that's to be expected. With our cache header that allows the caching of CSS up to 1 year, we'll run into this when doing updates in the future.
      One clever idea would be to add cache busting parts to the CSS/JavaScript file name and then use mod_rewrite to serve the original file name. For this we would need to add the hashes of CSS/JavaScript resources to file names in the Antora and Hugo templates.

        Attachments

          Activity

            People

            • Assignee:
              zregvart Zoran Regvart
              Reporter:
              zregvart Zoran Regvart
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: