I have a php code where I get a link. This link expires about 10 times a day, my code checks if the link expires and after a new one.
//o arquivo é single.php wordpress
<video id="player" poster="<?php echo $thumb; ?>" controls style="width: 100%; height: 400px;">
<source src="<?php echo $mp4;?>" type="video/mp4" />
</video>
The variable that stores the url is $ mp4, it always has the correct link
So many people who visit the website appear the link expired, due to the cache.
How to do this page or code snippet does not cache anyway?
detail. I'm using a cache plugin for wordpress and cloudflare.
Embrace