Home Revolution Fullwidth › Forums › Digitalsignagepress Questions › New picture
Hi,
Do you know if there’s a way to force a picture to reload itself into cache without having to refresh our browser ? We have a system that generates a report in JPG format and we would like to have the report renewed on our slide every 15 minutes. Is this something possible ? We tried with htaccesss and expiry, that didnt work….
instead of
<img src="pic.png">
try
<img src="pic.png?t=123">
and change per JS the src and add ?t=TIMESTAMP to the end to force a new load not from cache
you can use an html element from our plugin to write this javascript into the page
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.