I m using DXA 2.2.16 Java with SDL Tridion Sites 9.5. I have noticed when all binary files like css, javascript, images are recreating with each request in BinaryData folder. This is happening with both enabling and disabling cache inside cd_client_conf.xml file. It is impacting the performance of the website since on each request DXA is recreating all binary files. Please suggest a solution. Below is current cache setting

<?xml version="1.0" encoding="UTF-8"?>
<ServiceConfig CacheEnabled="${CIL_CACHE_ENABLED:-true}"
               CacheExpirationDuration="5" ServiceAvailabilityCheck="true"
    <!-- Specify your CIS Environment's Discovery Service URL below -->
    <DiscoveryService ServiceUri="${DISCOVERY_URL:-http://x.x.x.x:7082/discovery.svc}"/>

    <TokenService ClientId="cduser" ClientSecret="${cduserpassword:-encrypted:o/cgCBwmULeOyUZghFaKJA==}"/>
  • Abdul, can you confirm your current cache settings in the question? Mar 7, 2022 at 11:18
  • @Dylan..MarkSaunders added cache settings Mar 7, 2022 at 11:27
  • A colleague shared this issue that sounded similar - I do note that this was resolved in 2.2.11 so maybe you can check the updates to the refreshLocalization method may be worth seeing if it's related? github.com/RWS/dxa-web-application-java/issues/132 Mar 7, 2022 at 22:30


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.