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

Dispatcher invalidation doesn't work for underlying files

Avatar

Avatar
Level 1
aliaksandr_kara
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
aliaksandr_kara
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile
aliaksandr_kara
Level 1

07-02-2017

Hi everybody, i need to invalidate _jcr_content.json under content/web-app/en_GB/login/index/_jcr_content.json
this json should be updated after page modification
after activation page dispatcher log perform next steps:

LOG:

Activation detected: action=Activate [/content/web-app/en_GB/login/index] Touched /opt/communique/dispatcher/cache/.stat Touched /opt/communique/dispatcher/cache/content/.stat Touched /opt/communique/dispatcher/cache/content/web-app/.stat Touched /opt/communique/dispatcher/cache/content/web-app/en_GB/.stat Touched /opt/communique/dispatcher/cache/content/web-app/en_GB/login/.stat response.status = 200 response.headers[Server] = "Communique/2.6.3 (build 5221)" response.headers[Content-Type] = "text/html" cache flushed

no .stat file under /content/ee-id-web/en_GB/login/index/ path, therefore _jcr_content.json isn't invalidate.
log:

cache-action for [/content/web-app/en_GB/login/index/_jcr_content.json]: DELIVER request declined "GET /content/web-app/en_GB/login/index/_jcr_content.json" - - 0ms

cache-config records:
/docroot "/opt/communique/dispatcher/cache"
/statfileslevel "6"

/invalidate
  {
   /0000 { /glob "*" /type "deny" }
   /0001 { /glob "*.html" /type "allow" }
   /0003 { /glob "*content.json" /type "allow" }
}

Does Anybody know how to avoid this behavior?

Replies

Avatar

Avatar
Validate 10
Level 4
sandeepm744005
Level 4

Likes

19 likes

Total Posts

127 posts

Correct Reply

13 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 1
View profile

Avatar
Validate 10
Level 4
sandeepm744005
Level 4

Likes

19 likes

Total Posts

127 posts

Correct Reply

13 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 1
View profile
sandeepm744005
Level 4

07-02-2017

if .stat file is not created under /content/ee-id-web/en_GB/login/index/, then it will go one level up recursively and try to locate .stat file there until if finds the file there. Can you please make sure that .stat file is generated in the above folder hierarchy ? which page you tried to activate, index ? 

Avatar

Avatar
Level 1
aliaksandr_kara
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
aliaksandr_kara
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile
aliaksandr_kara
Level 1

07-02-2017

Yep, .stat files are generated.

/statfileslevel "6" so as far as i understand it should be under /content/web-app/en_GB/login/index/.stat but it is missing. .stat files exist from level /content/web-app/en_GB/login/.stat and higher in folder hierarchy.

Yep I activate page /content/web-app/en_GB/login/index.html and required file is one level down  /content/web-app/en_GB/login/index/_jsr_content.json

Even in this case (without .stat file) , dispatcher should invalidate all underlying tree which begins from folder with stat-file, because of older modification date. But nothing happened.
 

Avatar

Avatar
Validate 10
Level 4
sandeepm744005
Level 4

Likes

19 likes

Total Posts

127 posts

Correct Reply

13 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 1
View profile

Avatar
Validate 10
Level 4
sandeepm744005
Level 4

Likes

19 likes

Total Posts

127 posts

Correct Reply

13 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 1
View profile
sandeepm744005
Level 4

08-02-2017

i could able to replicate the issue in my local, not sure what is the root cause but consider workaround to deactivate the page which will clear all the files/folder from the location.

Avatar

Avatar
Give Back 5
Level 1
radhabbharathi
Level 1

Likes

0 likes

Total Posts

8 posts

Correct Reply

2 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Affirm 1
View profile

Avatar
Give Back 5
Level 1
radhabbharathi
Level 1

Likes

0 likes

Total Posts

8 posts

Correct Reply

2 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Affirm 1
View profile
radhabbharathi
Level 1

15-10-2019

Hi,

Did you get a solution for this issue other than deactivating the page?

Thanks,

Radha.