AEM Short url cache clear when long url page is activated | Community
Skip to main content
NBertie
Level 2
October 16, 2015
Solved

AEM Short url cache clear when long url page is activated

  • October 16, 2015
  • 2 replies
  • 1833 views

Hi Team,

we have set up the short url in the system using etc/map which are internally re-directed to the long version of it. Example

http://<host_name>>/<locale>/category/product.html ---this maps to a long url within CQ http://<host_name>>/<locale>/year/category/family/product.html

Issue is that when someone activates the page within CQ then the long url cache gets cleared at the dispatcher side. But the short url cache remains the same. Is there a cleaner and scalable way to handle this scenario.

Please advice

Thanks

Nitin

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

Lokesh_Shivalingaiah
Lokesh_ShivalingaiahAccepted solution
Level 10
October 16, 2015
NBertie
NBertieAuthor
Level 2
October 16, 2015

Thanks a lot for the response and pointers. So that means that we keep the etc/map settings as it is on pub/author side and have the apache mode re-write rule set up at the dispatcher side right , perhaps the same set of rules like we did at etc/map

So next time when

  1. When author activates the page under the long path, the dispatcher cache gets cleared out for the long url
  2. User who accesses the short url would be [PT] to the long url of the page which is anyways cache.

Please let me know if this understanding is correct

Thanks

Nitin