Old Cache & CDN Data after push to Production
Hi,
did anyone else have the same problem like us that the appcache and the files delivered by the CDN will not be refreshed on production after an push to production? If we changed some content in for example JavaScript files the changes are not be visible on production directly after an push to production.
We had included our JavaScript Files like this in the footer section of our community:
<script type="text/javascript" src="${asset.get('/html/assets/js/thc.global.min.js')}"></script>
We also tried this way but Khoros identified this restadmin call as an performance issue:
<#assign studioversion = restadmin("/plugins/live/version") />
<script type="text/javascript" src="${asset.get('/html/assets/js/thc.global.min.js')}?v=${studioversion.value}"></script>
Our current workaround, proposed by khoros is to create a new support case after every push to prod with JS file changes. Not very comfortable...
Did any one else run into the same problem? Is there maybe an other workaround which we currently not see?
Best regard,
Steffen