cq.authoring.dialog not loading updated minified stylesheet for our author-prod/stage URLs | Community
Skip to main content
Level 3
Oct 18, 2022 5:35 PM UTC
Solved

cq.authoring.dialog not loading updated minified stylesheet for our author-prod/stage URLs

Hi, 

 

This issue is occurring in our Stage and Prod Public URL authoring instances, but works perfectly fine in our direct IP authoring instances. 

 

The cq.authoring.dialog, which generates our "all.min.css" file, is not loading the most updated code when new css files are added or edited with this category. The "all.min.css" file IS updated if viewing a page in our direct IP instance, but NOT when viewing the exact same page in the Public Author URL. So this eliminates the possibility that the folder structure/properties are incorrectly configured as they are loading in one instance. 

 

I am unsure of where to go from here. If I can offer any more info that might assist this matter please ask. Your help is welcome, thanks.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
arunpatidar
arunpatidarAccepted solution
New Participant
Oct 19, 2022 8:06 AM UTC

I believe your author is behind dispatcher and files are cached

Clear the cache and add a rule to deny cache for this file.

Arun Patidar

5 replies

arunpatidar
arunpatidarAccepted solution
New Participant
Oct 19, 2022 8:06 AM UTC

I believe your author is behind dispatcher and files are cached

Clear the cache and add a rule to deny cache for this file.

Translate
Arun Patidar
BrianKasingli
New Participant
Oct 18, 2022 11:17 PM UTC

@mmasonwd I had the same problem in the past, here's three things I have done to resolve this issue.

1. clear the author author cache

2. restart AEM

3. sometimes the /libs/cq/gui/components/authoring/editors/clientlibs/sites/page.js is deep in the cache, so you must refresh this JS asset, this is also where you will also find your code /libs/cq/gui/components/authoring/editors/clientlibs/sites/page.js

 

Making sure you have the right dependencies and embed right, https://sourcedcode.com/blog/aem/adding-custom-client-library-for-aem-author-editor-touch-ui

 

Translate
mmasonWDAuthor
Level 3
Oct 19, 2022 4:29 PM UTC

Hi Brian,

 

I have cleared dispatcher cache, restarted, also cleared the script cache at /system/console/scriptcache. Nothing seems to be working. 

 

Again, this file seems to only not be updating at our Public Authoring URL (author-stage), not the public IP author instance (file updates immediately here). But I am clearly missing something.

 

On your point for #3 when you say this file may be deep in cache and to refresh this JS asset. How and what is meant by refreshing this asset?

Translate
Saravanan_Dharmaraj
New Participant
Oct 18, 2022 6:39 PM UTC

If you have the dispatcher cache, clear the cache and see. It could be browser cache too. 

Try it in incognito window. 

Translate
mmasonWDAuthor
Level 3
Oct 18, 2022 6:47 PM UTC

Apologies for marking as correct, I meant to reply. 

Good suggestion, but I tried clearing dispatcher and opening in incognito and still not updating. But again, comparing the same file from our IP instance, the file gets update right away but the URL instance will not update. Very odd to me

Translate