Adobe-Consulting-Services / acs-aem-commons

http://adobe-consulting-services.github.io/acs-aem-commons/
Apache License 2.0
453 stars 600 forks source link

Static css or js resources of a proxied clientlib causes an unwanted versioned clientlibs cache refresh #2254

Closed wimsymons closed 4 years ago

wimsymons commented 4 years ago

Required Information

Expected Behavior

When there is a <script> tag or a <link> tag pointing to a static JS/CSS resource of a proxied clientlib (e.g. /etc.clientlibs/some/clientlib/resources/some-resource.js), the proxied clientlibs cache should not be reloaded.

Actual Behavior

When such a link is found, a lookup for a clientlib is done for (following the example above) some/clientlib/resources/some-resource, which doesn't exist and causing the proxied clientlibs cache to be reloaded for no reason. This causes extra stress on the instance.

Steps to Reproduce

Links

wimsymons commented 4 years ago

Hi @davidjgonzalez, thanks for merging this into master, but there is no sign of the milestone this will be in. In what release will this be? 4.5.1 or 4.6.0? And again, any timings on the next release?