Zum Inhalt springen
Blog

Neocities changes not showing? Fix a stale index.html or CSS

Edited index.html or CSS on Neocities but the live site looks the same? Check the cache, file path and editor in order, plus a support message to copy.

The Liite team7 Min. Lesezeit

Short answer

Most of the time the server already has your new file and something is serving you a cached copy. Hard refresh (Ctrl+Shift+R, or Cmd+Shift+R on a Mac), then open the site in a private window. If the new version shows there, your upload worked and only your browser needs clearing.

You saved a change on Neocities, but the live site still shows the old page, or the default Neocities page, or your CSS edit takes hours to appear. People on the Neocities community forum on Reddit describe all three, and the search is usually some form of this:

neocities changes not showing

Why it happens

Causes are listed from most to least common.

  1. Your browser's cache. Browsers keep copies of HTML, CSS, JavaScript and images so repeat visits load faster. After you edit a file, the browser may reuse its saved copy until the copy is considered stale. CSS and images are the usual victims because they are separate files. That is why a changed style.css can lag behind a changed index.html.
  2. A cache between you and the server. This can be your ISP, a school or office network, or a CDN in front of the site. It is harder to spot because clearing your own browser does nothing.
  3. The wrong file or path. You edited an index.html in a subfolder, or the <link> tag points to a different stylesheet than the one you changed. Capitalization matters: Style.css and style.css are different files.
  4. The save never finished. The editor spun, the upload was interrupted, and the server still has the old file.
  5. A problem on Neocities' side. People on the community forum report stale content after a cache purge and an index.html editor that hangs on endless loading. We can't tell whether any of that is happening now, and some of it may have been fixed since those reports.

Step-by-step fixes

1. Force the browser to re-request the page

  1. On Windows or Linux press Ctrl+Shift+R (or Ctrl+F5). On a Mac press Cmd+Shift+R.
  2. If nothing changes, open the site in a private or incognito window. It starts with an empty cache.
  3. If the new version appears in the private window, clear the cache for that one site in your regular browser's settings, then reload.

2. Rule out your device and network

  1. Open the site on your phone using mobile data, not your home Wi-Fi.
  2. If the phone shows the new version, the stale copy is local to your computer or your network, not on Neocities.
  3. If the phone also shows the old version, go on to the next fix.

3. Look at the file itself

  1. Type the file's address straight into the browser, for example yoursite.neocities.org/style.css.
  2. Search the text for the line you changed.
  3. If the change is there but the page still looks old, the page is using a cached copy of the stylesheet or its <link> points somewhere else.
  4. If the change is not there, the server really has the old file. Go to fix 5.

4. Bust the cache with a version tag

Change the reference in your HTML so the browser sees a new address:

<link rel="stylesheet" href="style.css?v=2">

Bump the number each time you edit the file (?v=3, ?v=4). The file name on the server does not change; only the address the browser requests does.

Tip

Use a version tag only on files that change often, such as your stylesheet. You do not need it on index.html, which a hard refresh handles.

5. Check the file name, location and upload

  1. In your Neocities file list, confirm the page is named index.html, in lowercase, at the top level of the site. A file with a different name or location won't replace the default page.
  2. Confirm that the file you edited is the one the page loads, and that the <link> or <script> path matches it exactly, including capitalization.
  3. If the in-browser editor hangs or the save doesn't stick, copy your code somewhere safe first. Then reload the editor and save again.
  4. If it keeps failing, edit the file on your computer and upload it instead of using the in-browser editor.

Warning

Don't close or reload an editor that is stuck on loading before you copy your code out. Unsaved edits live only in that tab.

Which symptom points to which cause

SymptomLikely causeFix
New HTML shows in a private window, not in your browserBrowser cacheHard refresh, clear cache for the site
New version on mobile data, old one on Wi-FiNetwork or ISP cacheWait, or use the version tag
Raw .css file has your change, page looks oldCached stylesheet or wrong <link> pathVersion tag, check the path
Raw .css file is still oldSave or upload failed, or wrong fileRe-upload, check the file list
Default Neocities page still showsindex.html misnamed or in a subfolderRename it, move it to the top level
Editor spins foreverEditor problem, possibly on Neocities' sideCopy code out, upload a file instead

What won't help

  • Re-saving the same file over and over. If the file on the server is already correct, the server isn't the problem.
  • Rewriting your code. If the new CSS is visible when you open the file directly, the code is fine.
  • Clearing the cache for the wrong site. Clear it for the exact address you are visiting.
  • Waiting without testing. A private window or your phone on mobile data tells you in a minute whether the problem is a stale copy.

Checklist before you try again

  • You hard refreshed and tried a private window.
  • You opened the raw .css or .js file and saw your change in it.
  • The file sits at the path your HTML expects, with matching capitalization.
  • Your homepage is named index.html, lowercase, at the top level.
  • You noted what you see (old page, default page or editor spinner), so a report is specific.

If nothing works

Contact Neocities support through the help pages on neocities.org. Include your site name, the file involved, what you see and what you expected, the time you saved it, and the steps you tried (hard refresh, private window, mobile data, raw file check). A message you can copy:

Hi, my Neocities site (yoursite.neocities.org) isn't showing my latest changes.
File: /style.css (also happens with /index.html)
I saved it at about [time and time zone].
The raw file at yoursite.neocities.org/style.css still shows the old content.
I already tried: hard refresh, a private window, and my phone on mobile data.
Could you check whether the file is being served from a stale cache?

If you want a different host

Liite's uploaded sites take an HTML file, a zip or a folder and keep the same address each time you upload again. Old versions are kept for rollback. Browser caching applies to any host, so the hard-refresh steps above are worth doing there too. Liite doesn't run server-side code or build from source. A Free uploaded site needs a card on file and goes offline 7 days after its last publish, and it holds at most 3 MB. See put an HTML file, a zip or a PDF online for the upload steps.

Common questions

How long does a Neocities change take to show up?

We can't give a reliable number. If a private window or mobile data shows the new version, the server already has it and the delay is a cache on your side.

Why does my HTML update but my CSS doesn't?

The stylesheet is a separate file, and the browser may reuse its saved copy even after it re-requests the page. Open the .css file directly to see what the server has, and add a version tag like ?v=2.

Does clearing cookies fix it?

No. Cookies and cached files are different things. Clear cached files and images for the site, or use a private window.

Can I tell whether the problem is on Neocities' side?

If the raw file at its own address still shows the old content after you re-upload it, the server isn't serving your latest save. Check Neocities' status and help pages, then send the support message above.