cancel
Showing results for 
Search instead for 
Did you mean: 

Caching of Javascript in Alfresco 3.2?

kbonnet
Champ in-the-making
Champ in-the-making
Hi all,

I'm used to be able to change javascript files without having to restart Alfresco. Since version 3.2 javascript files, both on filesystem as in the repository seem to get cached. I'm referencing to the script from a custom behaviour. I have to restart Alfresco for every change to take effect.

Has something changed in this area with Alfresco 3.2? Is it a setting somewhere?

Kind regards,

Koen Bonnet
4 REPLIES 4

mikeh
Star Contributor
Star Contributor
You should be able to just reset web scripts, rather than restart the app.

Note: there still isn't a way to "uncache" included JavaScript files.

Thanks,
Mike

kbonnet
Champ in-the-making
Champ in-the-making
You should be able to just reset web scripts, rather than restart the app.

Hi Mike,

Thanks for your response. I forgot to state that i'm referencing to this script from a behaviour. I'm used to it that i can change the script and retry the behaviour. Has this changed?

Koen

mikeh
Star Contributor
Star Contributor
Possibly as scripts are compiled now - I think this would also apply to behaviour-based scripts. Please raise the issue in JIRA, I suspect it's another cache needs clearing.

Thanks,
Mike

kbonnet
Champ in-the-making
Champ in-the-making
Thanks Mike,

I created the issue: ALFCOM-3242.

Koen