Jenkins used to clear all cache related to AEM instances in 6.5 | Adobe Higher Education
Skip to main content
arturl43391132
Level 4
September 14, 2020
해결됨

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

  • September 14, 2020
  • 1 답변
  • 1773 조회

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.

이 주제는 답변이 닫혔습니다.
최고의 답변: joerghoh

 

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.

1 답변

joerghoh
Adobe Employee
joerghohAdobe Employee답변
Adobe Employee
September 14, 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.

arturl43391132
Level 4
September 15, 2020
Thanks for your answer