the main.css and the main.js does not update. I tried about 10 times to update those 2 files using the file manager. I tried uploading a complete zip, uploading the whole file or just go to edit in the file manager and paste the code manually and then saving the file.
In the file manager I can see the updated code, but when launching the site, the old css and js is still active. When I check out the raw CSS or JS Code via mariodittrich.com/.../.../main.css i still see the old css code.
I tried refreshing the site with CTRL+F5 and SHIFT+F5, regular refresh and refreshing the main.css in my browser with CRTL+F5 and SHIFT+F5, but it is still the same. I updated the JS in the file manager about 48 hours ago, but still no change.
Welcome to the InfinityFree community forum! Good to have you here.
Most people answering here are volunteers. They’re often the fastest source of help. Admin (the only staff member) checks in about once a day for issues on our end.
Volunteers can’t see your account or website. Share what you actually see, like error messages and what happens when you try something. That’s more useful than your theory of what’s wrong.
AI tools often get InfinityFree wrong. If a volunteer’s advice differs from what an AI told you, please try the volunteer’s suggestion first.
Solving an issue is a joint effort. Try the suggestions you get and report back what happened.
Beep boop, I’m a bot! I dug through the forum to get you started. I sometimes get things wrong though, so do with this what you will until a human has a look.
Do you have Cloudflare, or any other CDN or proxy, in front of mariodittrich.com? And does the raw main.css URL still show the old code in a private window, or on your phone over mobile data instead of your home network?
Those two checks separate the likely causes. If the old code shows everywhere, including mobile data, the copy being served isn’t coming from your browser. A CDN in front of the site is the usual reason for that. If the new code shows in a private window or on mobile data, it’s just your browser’s cache.
Other people with this symptom were told one of two things. In one topic, the fix was Cloudflare’s development mode, which bypasses its cache.
In another, the fix was adding a version to the file link, like main.css?v=2, and raising the number after each change. That makes the browser fetch the file again.
Those were their problems, and yours might be a different one. Your answers to the two questions above would show which, if either, applies here.