Cache not being updated on lazy renditions.

I have defined a rendition of type AutomationLazyRenditionProvider to handle large downloads; I am extending TransientStorageComponent to define the cache. I am tarring/zipping folder documents (I am setting allowEmptyBlob to true).

It appears to be working fine but when I modify the contents of the directory by adding/deleting files it is not picked up by the download; i.e. the cache is not being updated.

I'm aware I can set the cache to have a short time to live, etc. so it will be replaced more frequently, but is there anyway for it to pick up that changes have occurred and therefore the download should be built from scratch and not merely use the old contents of the cache?

thank you

0 votes

0 answers

547 views

ANSWER