3

In our implementation, we have three languages for the website, say EN, AR, ZH. The published content comes up correctly on AR & ZH websites, but not EN. It only happens with sections like Footer, Navigation JSON, or when we display dynamic components.

Once we restart Web Application in IIS and restart Content Service, it comes through. It only happens on Production Servers, but not in lower environments. We have disabled SDL Web Cache, and any Object Cache in Deployer, Discovery & Session Content Services.

The only cache that we have now is service caching in Web.Config file, but I don't think that should impact only EN Website. It should impact all three. The caching is set to 1 hour, but the changes don't come up until we restart IIS Website and Content Service.

We are using SDL Web 8.1 & .NET DXA 1.5. Can anyone please guide where I can look more to investigate this issue?

Please see the below logs for navigation.json file. It seems that it is getting the navigation model from cache. How can I disable this?

2019-02-05 13:50:26,854 [21] DEBUG - Deserializing Navigation Model from raw content URL '/en/navigation.json'
2019-02-05 13:50:26,863 [21] DEBUG - Obtained Navigation Model from cache.
2019-02-05 13:50:26,864 [21] DEBUG - Obtained Navigation Model from cache.
  • Look at the localization resolver for publication mapping for English website area? if you directly access the footer and headers of English website URLs how it looks those responses is it still same, somewhere your publication id in your webrequestcontext.localization is not switching correctly? – Velmurugan Jan 15 at 13:18
  • Is that whole english website pages not working or just the header and footer section only? – Velmurugan Jan 15 at 13:20
  • Hi Velmurugan, I have checked these as well, and they are also not coming updated. Even the Navigation JSON as well. The code is same in all environments and it works fine in lower ones, like UAT, SIT/QA. – Sharad Kumar Sangal Jan 15 at 13:21
  • The dynamic sections, like navigation json, header, footer, any dynamic components list etc. These don't get updated when we publish, and only on EN Website. – Sharad Kumar Sangal Jan 15 at 13:23
  • Also, any DB caching is completely removed from cd_storage_conf.xml files of Deployer, Discovery & Session Content Services, and the services are restarted as well. I would have assumed that the LB Caching would have impacted it, but it is not working with direct host entry as well with a secondary URL Mapping in IIS, which is not public and restricted to server only. – Sharad Kumar Sangal Jan 15 at 13:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.