In the production environment, cache duration is set to 15 mins. We are facing an issue while publishing the pdfs files.
Published PDFs are not reflecting on the site until application pool is recycled. Admin refresh is also disabled over there. Binary Folder is not getting updated until the application pool is recycled. Does anyone have any idea about the reason behind that? How can I get the updated content in Binary folder without recycling application pool and admin/refresh?
We have implemented customized version of output cache as per this blog
Here is my cache configuration:
<!-- DD4T objects: -->
> <add name="Page" cacheName="longLivedCache" />
> <add name="ComponentPresentation" cacheName="longLivedCache" />
> <!-- DXA objects: -->
> <add name="PageModel" cacheName="longLivedCache" />
> <add name="IncludePageModel" cacheName="longLivedCache" />
> <add name="EntityModel" cacheName="longLivedCache" />
> <add name="Navigation_Static" cacheName="longLivedCache" />
> <add name="Navigation_Dynamic" cacheName="longLivedCache" />
> <add name="NavTaxonomy" cacheName="longLivedCache" />
> <add name="BinaryPublishDate" cacheName="longLivedCache" />
> <add name="CIL-BROKER" cacheName="longLivedCache" />
> <add name="CIL-DYNAMIC" cacheName="longLivedCache" />
> <add name="CIL-LINKING" cacheName="longLivedCache" />
> <add name="CIL-INTERNAL" cacheName="longLivedCache" />
> <add name="RenderedOutput" cacheName="longLivedCache" />
and the duration of longLivedCache is set to 900 sec. But changes are not reflecting even after 24 hours.