Expand my Community achievements bar.

SOLVED

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

Avatar

Level 4

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.

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

 

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.

View solution in original post

2 Replies

Avatar

Correct answer by
Employee Advisor

 

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.