You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Zoran Regvart (JIRA)" <ji...@apache.org> on 2019/08/01 13:53:00 UTC
[jira] [Created] (CAMEL-13816) Cache busting for CSS and JavaScript
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)