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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

how to disable CDN cache for a specific page or component in AEM?

Avatar

Level 4

hi, how to disable CDN cache for a specific page or component in AEM please provide , what needs to be done here so that I can remove cache from a specific page.

1 Accepted Solution

Avatar

Correct answer by
Level 2

Hi @rahul234dabas 

 

If you want a particular page to be denied from getting cached permanently and need not want to go through a process of CDN cache clearance, then you can follow -

  1. Make CDN follow/respect your origin cache settings
  2. Set the value of "s-maxage" of the cache-control header to zero so that it won't get cached at CDNs.

View solution in original post

3 Replies

Avatar

Correct answer by
Level 2

Hi @rahul234dabas 

 

If you want a particular page to be denied from getting cached permanently and need not want to go through a process of CDN cache clearance, then you can follow -

  1. Make CDN follow/respect your origin cache settings
  2. Set the value of "s-maxage" of the cache-control header to zero so that it won't get cached at CDNs.