Jenkins used to clear all cache related to AEM instances in 6.5

arturl43391132

14-09-2020

Hello AEM Community,

 

Hope you are well.

 

I just want to know what are the best practices to clear the cache after build and deploy using jenkins.

 

We had a 6.3 AEM and we had these kinds of jobs:
-clear dispatcher cache
-clear jsp cache using /system/console/slingjsp
-clear CDN cache

Now we have 6.5 and the steps are the following:
-clear dispatcher cache
-clear fileSystemClassLoader:

17:51:46  + curl -u '****' -X POST http://host:port/system/console/fsclassloader -d clear=true

 -clear CDN cache

The question is: do we need something else after build and deploy?

 

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Jörg_Hoh

Employee

14-09-2020

 

That should suffice. You shouldn't need to clean the FS Classloader Cache at all; I remember a statement of AEM product engineering, saying that if you need to do that, there's a bug somewhere. So if you have reproducible cases where clearing this cache helps, please report to support.

Answers (0)