🪟 Windows TippsModify Windows Support Phone Number with PowerShell(03.09.2026 um 00:00 Uhr)
🔧 AI Nachrichten Podcast: ChatGPT schwatzt Nutzern in Deutschland jetzt Werbung auf(28.08.2026 um 08:46 Uhr)
🪟 Windows TippsMicrosoft bringt Emoji 17.0 auf Windows 11(31.08.2026 um 08:16 Uhr)
🪟 Windows TippsModify Windows Support Phone Number with PowerShell(03.09.2026 um 00:00 Uhr)
🔧 AI Nachrichten Podcast: ChatGPT schwatzt Nutzern in Deutschland jetzt Werbung auf(28.08.2026 um 08:46 Uhr)
🪟 Windows TippsMicrosoft bringt Emoji 17.0 auf Windows 11(31.08.2026 um 08:16 Uhr)

🔧 Programmierung 🕛 vor 3 Monaten 8 Min Lesezeit
0

My static site's visitor counter reset to 1. Here is the deploy checklist I wish I had

↗ Quelle (dev.to)
🗣️ Stimme:
📑 Inhaltsübersicht

A few hours after a successful deploy, I opened my own site and saw the kind of number that makes you immediately stop doing everything else:




CODE
Total visits: 1






That was not a new project. It was not a fresh database. It was not supposed to say 1.



For context, I have been building entry for the release because this kind of tiny infrastructure work is easy to forget. The code change may be one line, but the operational lesson is much bigger.






My new tiny-site deploy checklist



Here is the checklist I am using now.






1. Classify every path before deleting anything



Before a full replacement deploy, split files into categories:




CODE
build artifacts:
public/*.html
public/assets/**
public/tools/**

runtime data:
public/data/visits.json
uploads/
cache/
queues/
generated reports
anything written by production code

secrets/config:
.env
config/*.php
server-only keys






If a production process writes it, the deploy script should not casually delete it.






2. Preserve runtime data explicitly



Do not rely on “it is probably in the package” or “the backup exists somewhere.”



Make the restore step part of the deploy script:




CODE
RUNTIME_DATA_BACKUP="${BACKUP_DIR}/public/data"

# after extracting the new package
if [ -d "$RUNTIME_DATA_BACKUP" ]; then
mkdir -p "$SITE_DIR/public/data"
cp -a "$RUNTIME_DATA_BACKUP/." "$SITE_DIR/public/data/"
fi






Explicit beats remembered.






3. Verify the values users can see



Do not only check whether the deploy command exited successfully.



Check the thing the user will notice:




CODE
Homepage loads
Language switch renders the expected language
Changelog shows the newest version
Visitor stats did not reset
Critical assets use the new cache-busted URL






A deploy that returns DEPLOY_OK can still ship a bad state.






4. Keep one small audit script per scary class of bug



I now prefer small, boring verification scripts over trying to remember every edge case manually.



Examples:




CODE
verify homepage i18n keys
scan changelog asset versions
check broken internal links
check missing hreflang tags
scan for mojibake signatures
verify visit stats after deploy






The best audit scripts are not clever. They are just executable memory.






5. Write the postmortem while it is still embarrassing



This is the part I recommend most.



When the bug still feels annoying, write down:




  • what happened

  • why it happened

  • what file caused it

  • what exact check would have caught it

  • what rule changes now



A week later, you will remember “the stats bug.” You may not remember the exact path, command, backup, and prevention rule.



Future-you needs the boring details.






A small ask



One practical problem with small independent tools is discovery. Search engines trust links, and new projects do not have many.



If you maintain a list of privacy-friendly tools, browser-based utilities, frontend resources, or “no upload” image tools, and you think this project belongs there, a mention or backlink to 24Picture's zero-upload image tools would genuinely help.



No pressure, and please do not link it if it is not useful for your audience. But if it fits, that kind of independent web curation is still one of the best ways small tools get found.



I am also happy to look at useful directories, resource lists, or indie tool pages in return. Good lists deserve links too.






Wrap



The bug was small. One JSON file disappeared.



But the lesson was bigger: static deploys are only simple if everything is actually static.



The moment a production process writes a file, even a tiny one, your deploy script has to treat it as state. If it does not, the script is not just deploying your site. It is editing your production data model.



And sometimes the first sign is a very loud number:




CODE
1


Vollständiger Original-Bericht
Ausführliche Details, Code-Beispiele & Hersteller-Stellungnahme auf dev.to.
↗ Original-Artikel auf dev.to lesen
Wie bewertest du diesen Beitrag?
1 Klick Feedback
Teilen mit Netzwerk & Team:

Community-Analysen & Experten-Meinungen 0

Verfasse deine eigene Analyse, teile Workarounds oder diskutiere diesen Vorfall im Blog.
Noch keine Community-Analyse verfasst. Markiere einen Textabschnitt oder klicke oben auf Eigene Analyse verfassen“!
Community Pulse: Relevanz-Einschätzung
1 Klick Experten-Votum
🔴 Akute Relevanz 0%
🟡 In Evaluierung 0%
🟢 Keine Auswirkung 0%
Spannende Innovation 0%
Verwandte Story-Cluster & Quellen (Vektor-KI)
Port 8095 Engine
1 Quelle
Modify Windows Support Phone Number with PowerShell
1 Quelle
Die Zukunft des Einkaufens: Warum wir ein neues Kapitel aufschlagen (und wie du es mitschreiben kannst)
1 Quelle
ZDE Podcast 251: Wie sieht digitales Instore Marketing 2026 aus, Amit Chatterjee?
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten My static site's visitor counter reset to 1. Here is the deploy checklist I wish I had

Thematisch verwandte Begriffe: static, sites, visitor, counter · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...