php – How can you update an image png on a website without refreshing the page?

I have a standard default theme, simple PHP page with some PNG (or JPG) images that I update via FTP, with all the images always having the same name.

I want that when image files are updated by me via FTP, the images on web pages are updated and up-to-date (after a few seconds or presets) without having to forcefully refresh or refresh the page. also at intervals) is displayed. ,

Today, when I send new images I am forced to do a refresh to display the updated images.

Is it fixable, if so how?

Leave a Comment