Forum Discussion
steffenschoene you might try to avoid the CDN entirely by not using asset.get()... Lithium won't like that too much, but if they can't get the CDN to properly clear after a publish, that might be your only way out without having to contact support each time.
Furthermore, you can avoid your restadmin() call entirely and still get the version information of Lithium, check out the application context object of FreeMarker!
In your specific case it might look something like this:
<script type="text/javascript" src="/html/assets/js/thc.global.min.js?v=${application.version.revision}"></script>
Hi luk ,
thanks, but the application.version.revision wasn't the solution for our problem. The application.version.revision is the Khoros release revision, not the studio version. The the number will not change after a push to production without a new Khoros Release.
Any other ideas?
Greetings
Steffen
Related Content
- 2 months ago