Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

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

Avatar

Avatar
Validate 10
Level 3
arturl43391132
Level 3

Likes

18 likes

Total Posts

68 posts

Correct Reply

10 solutions
Top badges earned
Validate 10
Validate 1
Ignite 1
Give Back
Boost 5
View profile

Avatar
Validate 10
Level 3
arturl43391132
Level 3

Likes

18 likes

Total Posts

68 posts

Correct Reply

10 solutions
Top badges earned
Validate 10
Validate 1
Ignite 1
Give Back
Boost 5
View profile
arturl43391132
Level 3

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)

Avatar

Avatar
Coach
Employee
Jörg_Hoh
Employee

Likes

1,089 likes

Total Posts

3,123 posts

Correct Reply

1,063 solutions
Top badges earned
Coach
Give back 600
Ignite 5
Ignite 3
Ignite 1
View profile

Avatar
Coach
Employee
Jörg_Hoh
Employee

Likes

1,089 likes

Total Posts

3,123 posts

Correct Reply

1,063 solutions
Top badges earned
Coach
Give back 600
Ignite 5
Ignite 3
Ignite 1
View profile
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)