Reference AEM as Cloud service versioned clientlibs in non-AEM pages like Magento
Hi All,
Is there a way to reuse AEM client-library with the versioning enabled in non-AEM pages like Magento?
This is a common use-case where we want to reuse the header/footer from AEM and show in external systems but the challenge has been to get the Client-library working. Some legacy implementations that I have seen use the Client-library path without the versioning identifier but this creates a caching issue every time there is an update in the Client-library code.
e.g. Right now, in Magento we need to hard-code the reference: /etc.clientlibs/site/components/header/v1/header/clientlibs.min.js
Instead, what's needed is something that works within AEM itself like
/etc.clientlibs/site/components/header/v1/header/clientlibs.lc-c8983e582efc9345b4qoi89499f98b-lc.min.js and this identifier should be auto-updated every time there's a change within AEM.
Any recommendations on how to achieve this?
Thanks,
Ram
