My Custom Widget Library .js (or .css) is not updated issue

Symptoms

When I am updating a file in my custom widget javascript library, the generated cached .js from the widget/clientlib (usually under /var/clientlibs) is not updated to reflect the last update.

Cause

The widget/clientlib servlet that is used to render the cached library .js (or .css) is not detecting my changes while traversing the resources. This is usually because the nodetype from one of the parents folder is not a "nt:folder" but something like "nt:unstructured" or "sling:folder" etc... folders have to be "nt:folder".

Resolution

Change the nodetype of the parent nodes to use "nt:folder".

Applies to

CQ 5.1 WCM Platform Widget

 Adobe

Dapatkan bantuan lebih cepat dan lebih mudah

Pengguna baru?

Adobe MAX 2024

Adobe MAX
Konferensi Kreativitas

14–16 Oktober Miami Beach dan online

Adobe MAX

Konferensi Kreativitas

14–16 Oktober Miami Beach dan online

Adobe MAX 2024

Adobe MAX
Konferensi Kreativitas

14–16 Oktober Miami Beach dan online

Adobe MAX

Konferensi Kreativitas

14–16 Oktober Miami Beach dan online