I have .net application running on DXA 1.8 and Web 8.5. I am facing issue while publishing binary (pdf) with the same name and different content.
Now the issue is I am not able to see the published PDF with the same name and different content updating on the website. I have tried to disable Client Side Cache by Setting the cache to false
<caching defaultHandler="longLivedCache" enabled="false">
And also
<add name="Page" cacheName="noCache"/>
<add name="ComponentPresentation" cacheName="noCache"/>
<!-- DXA objects: -->
<add name="Binary" cacheName="noCache" />
<add name="PageModel" cacheName="noCache"/>
<add name="IncludePageModel" cacheName="noCache"/>
<add name="EntityModel" cacheName="noCache"/>
<add name="Navigation_Static" cacheName="noCache"/>
<add name="Navigation_Dynamic" cacheName="noCache"/>
<add name="NavTaxonomy" cacheName="noCache"/>
<add name="BinaryPublishDate" cacheName="noCache"/>
<add name="CIL-BROKER" cacheName="noCache"/>
<add name="CIL-DYNAMIC" cacheName="noCache"/>
<add name="CIL-LINKING" cacheName="noCache"/>
<add name="CIL-INTERNAL" cacheName="noCache"/>
Disabled ViewModel Cache
<add key="viewModel-caching" value="false" />
On CD side I have disabled Object Cache for Content Service and Discovery Service
<ObjectCache Enabled="false">
Also
Restarted the services cleared browser cache recycled application pool restarted IIS
I still see the old pdf in the link. In the binaryData folder, there is still the old pdf file. It means the file is not being updated over there. I can see the other binary files are showing the modified date over there