Jenkins used to clear all cache related to AEM instances in 6.5 | Community
Skip to main content
arturl43391132
Level 4
September 14, 2020
Solved

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

  • September 14, 2020
  • 1 reply
  • 1773 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by 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 reply

joerghoh
Adobe Employee
joerghohAdobe EmployeeAccepted solution
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