I have changed some files in the File Manager, and i’ve cleared all my caches, but the new files wont show on the website, and when i inspect element, it still shows all the old files even though ive deleted them from the file manager.
How can i get my website to update to use the new files? It’s not a caching problem, it just seems that the file manager isn’t updating the site, and even if i use a third party file manager, the site still won’t update to show the new site, it still is loading the old one.
If you updated the files over FTP, the issue is cache. Note that it might not be your browsers cache, it could also be your computer, network, or your ISPs cache.
I have uploaded the right files to FTP, i promise I’ve checked a bunch of times, all of the files are the correct files. I even deleted the picture file for the fade in and completely changed the html code, but it still isnt working
<html>
<link rel="stylesheet" href="fade-in.css">
<link rel="stylesheet" href="countdown timer.js">
<head>
<title>
DSM Protocol
</title>
</head>
<body style="background-color:black;text-align:center">
<div class="fade-in">
<img src="DSM black background logo.png" alt="DSM Logo" style="width:1000px;height:1000px;">
<!--img src="\Users\derek\Downloads\DSM words white.png" alt="DSM words" style="width:1000px;height:1000px;"-->
<p style="font-size: 80px; color: #FFFFFF" id="demo"></p>
<script>
// Set the date we're counting down to
var countDownDate = new Date("May 14, 2022 12:00:00").getTime();
// Update the count down every 1 second
var x = setInterval(function() {
// Get today's date and time
var now = new Date().getTime();
// Find the distance between now and the count down date
var distance = countDownDate - now;
// Time calculations for days, hours, minutes and seconds
var days = Math.floor(distance / (1000 * 60 * 60 * 24));
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
// Display the result in the element with id="demo"
document.getElementById("demo").innerHTML = days + "d " + hours + "h "
+ minutes + "m " + seconds + "s ";
// If the count down is finished, write some text
if (distance < 0) {
clearInterval(x);
document.getElementById("demo").innerHTML = "EXPIRED";
}
}, 1000);
</script>
</div
</body>
</html>