just need to tell your load function (in the controller, in the case of Laravel) not to cache it by setting headers, use the following code for Laravel:
$headers =[ 'Content-Type' => 'application/text', 'Cache-Control' => 'no-store, no-cache, must-revalidate, max-age=0', 'Cache-Control' => 'post-check=0, pre-check=0, false', 'Pragma' => 'no-cache', ]; return response()->file($pathToFile, $headers);
This code is very true for PhP, so you just need to pass the code accordingly. Adding new dates may invalidate the link, especially if you use temporary SignedLink, etc.
Hooray
zaffar
source share