Zoran Regvart created CAMEL-13816:
-------------------------------------
Summary: Cache busting for CSS and JavaScript
Key: CAMEL-13816
URL: https://issues.apache.org/jira/browse/CAMEL-13816
Project: Camel
Issue Type: Sub-task
Components: website
Reporter: Zoran Regvart
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.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)