Dispatcher Caching Issues | Community
Skip to main content
Singaiah_Chintalapudi
Level 7
Sep 28, 2017 2:59 PM UTC
Solved

Dispatcher Caching Issues

We set the /statfileslevel to 5.

Issue 1:

content tree:  /content/myproject/en/firstlevel/secondlevel/thirdlevel/fourthlevel/fifthelevel/sixthlevel/child pages

If I activate the fourthlevel page, it is invalidating the fourthlevel page and its parent pages (until secondlevel). Because our /statefile is set 5 and it is touching all of these .stat files upon page activation. It is not flushing the /fifthelevel/sixthlevel/child pages.

But adobe documentation shows it will flush the bottom pages not the top pages.

Issue 2:

We have a iParsys on sixthlevel. Whenever we update any content on iParsys and publish the sixthlevel page, it is flushing only the sixth level page not the child pages which are inheriting the sixthlevel content. So we had to manually flush the cache.

Based on this thread, it should flush the all child pages.

https://forums.adobe.com/thread/2339221

Thanks.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
joerghoh
joerghohAccepted solution
Employee
Sep 29, 2017 8:05 AM UTC

Hi,

ah, that's a different story then. Set the dispatcher loglevel to "3", restart the dispatcher, execute one of the requests which are not forwarded to AEM and provide us with the relevant part of the logfile then.

Jörg

12 replies

Singaiah_Chintalapudi
Level 7
Oct 13, 2017 7:43 PM UTC

It depends in the stat file level. Dispatcher does not automatically invalidates the child pages even the replicated/parent page has iparsys.

Translate
joerghoh
Employee
Oct 13, 2017 7:30 PM UTC

Hi,

in that case it seems that the invalidation seems not to work correctly.

  1. Can you validate that the dispatcher is setup properly?
  2. Also check that the browser caching is not interfering
  3. Can you do the tests without going through dispatcher?

Jörg

Translate
New Participant
Oct 13, 2017 6:42 PM UTC

Hi

I'm Facing an issue

issue with iparsys caching on ‘Canceling inheritance’

I believe we might be able to reproduce the steps with Geometrixx site as that come up with an iparys.

Following steps are from our QA team for our custom implementation:

  1. Create a DC footer with language, like dc/us/en
  2. Re-edit the Inheritance of footer component in dc/us/en, checked “Cancel Inheritance”
  3. Check the footer in prior page again – the footer is still show after refresh.
  4. Checked on another page, which was not viewed in step#2(no cache), the page was loaded without footer.
Translate
joerghoh
Employee
Sep 30, 2017 9:46 AM UTC

If you like, you can raise a Daycare issue and ask for the improvement of the documentation. Especially if you get specific what in detail is confusing it's likely that the documentation will get updated.

(If you post the Daycare ticket ID, I can have a look at it :-))

Jörg

Translate
Singaiah_Chintalapudi
Level 7
Sep 29, 2017 11:25 PM UTC

Thanks. It worked. The dispatcher documentation is little confused. I found below article is helpful.

http://aempodcast.com/2016/infrastucture/year-desert-aem-dispatcher/#.Wc7U7VtSxaQ

Translate
joerghoh
joerghohAccepted solution
Employee
Sep 29, 2017 8:05 AM UTC

Hi,

ah, that's a different story then. Set the dispatcher loglevel to "3", restart the dispatcher, execute one of the requests which are not forwarded to AEM and provide us with the relevant part of the logfile then.

Jörg

Translate
Singaiah_Chintalapudi
Level 7
Sep 28, 2017 8:18 PM UTC

True.

But dispatcher is not forwarding the requests to AEM instance for child pages.

This is what I am trying to explain. Sorry for any confusion.

Translate
joerghoh
Employee
Sep 28, 2017 7:46 PM UTC

The dispatcher is not removing the invalidated files immediately. But when a request for an invalidated file comes, the request will be forwarded to the AEM instance and the response is then used to overwrite the stale file in the dispatcher cache. And then the timestamp is up-to-date (younger than the timestamp of .stat file) and the file is considered fresh again.

Jörg

Translate
Singaiah_Chintalapudi
Level 7
Sep 28, 2017 6:34 PM UTC

I understand. 

Whenever I request for these sub-level pages then those are serving from the dispatcher cache (Time stamp of those files are not changing). It suppose to fetch those from publish and replace these invalidated cached files.

So its clearly not invalidating the sub folders.

Translate
joerghoh
Employee
Sep 28, 2017 6:30 PM UTC

If you assume "invalidation = removal", then the invalidation is not working. But as I already said, invalidation does not work this way, it does not remove files or complete subdirectories from the cache.

Translate