r/statichosting

I don’t know if my project needs a database or if I’m just tired of JSON

The JSON setup still technically works, but maintaining it is starting to feel awkward. At the same time, moving to a database feels like a huge jump for the size of the project.

I can’t tell if I actually need a new setup or if I’m just frustrated with the current one. What made you finally move away from JSON-based storage?

reddit.com
u/akaiwarmachine — 10 hours ago

What should I learn next after making a simple static website?

Hi everyone, I’m still pretty new to web development, but I’ve already made and hosted a simple website using HTML, CSS, JavaScript, GitHub Pages, and Vercel. Now I’m trying to figure out what the next step should be. I keep seeing terms like frameworks, APIs, backend development, databases, and deployment tools, and it’s a little overwhelming trying to understand how they all connect. Right now my project is just a basic frontend website, but I want to learn how real web apps become more interactive. I’d appreciate advice on what skills or technologies are worth learning next, especially for someone who already understands the basics but wants to move toward full stack development. Thanks in advance for the insights!!

reddit.com
u/PointJump — 1 day ago

recommendations?

hello! need hosting recommendations. i'm more used to building dynamic websites for clients but i need a go-to for static hosting since i'm receiving more freelance work for simpler stuff like custom portfolio sites and such.

am willing to pay for subscriptions, but the more bang for my buck, the better. thanks!

reddit.com
u/Funny_Account6383 — 1 day ago

Why do you think our simple landing page outperform the premium one?

This week got interesting. A lightweight static landing page I built as a side experiment ended up outperforming one of our heavier campaign pages. Lower bounce rate, better engagement, and noticeably stronger mobile retention. Same targeting and same traffic source, which made the comparison difficult to ignore.

During a meeting, my boss asked why the “basic page” was winning when the other one had more animations, third-party integrations, and dynamic features. I tried explaining that faster render times and reduced client-side overhead probably mattered more than we assumed.

Later, one of our developers told me something that stuck with me. Static hosting forces you to respect the user’s time because you cannot depend on backend complexity to compensate for inefficient frontend decisions. That completely shifted how I look at marketing sites now. Some campaign pages honestly feel more like bloated web apps disguised as landing pages.

Still learning, though. Where do you personally draw the line between staying static and introducing a full backend architecture?

reddit.com
u/Boring-Opinion-8864 — 3 days ago

My frontend got more complicated than the actual product

I spent so much time tweaking UI behavior, loading states, and small interactions that I barely worked on the core idea itself. Now the project looks polished, but I’m not even sure if the main feature is useful enough.

I think I got distracted trying to make it feel “complete.”

How do you stop frontend work from taking over the entire project?

reddit.com
u/akaiwarmachine — 4 days ago

The hidden cost of serverless function execution time

I noticed my hosting bill spiked this month. It turns out a simple serverless function I use to fetch a third-party API was waiting 8 seconds for that API to respond. Since serverless bills by gigabyte-seconds of execution time, that slow API is costing me actual money. Is there a way to aggressively set a timeout so the function dies after 2 seconds instead?

reddit.com
u/killmelikejojo — 4 days ago

How are you handling long-term data persistence with CRDTs on a static site?

I’ve been experimenting with Conflict-free Replicated Data Types (CRDTs) to add real-time, Google Docs-style collaboration to a static site. Since there’s no central database to manage state, the clients just sync directly with each other. It sounds perfect for a static setup, but I’m struggling with how to handle long-term data persistence without a traditional server. Are you guys using a peer-to-persist model with something like PouchDB, or is a specialized edge-database still the only reliable way to go?

reddit.com
u/Pink_Sky_8102 — 5 days ago

Built a static hosting platform with drag-and-drop, SSL, and auto QR codes. Looking for feedback.

Hola,

Just shipped my first real SaaS after years of unfinished side projects. Posting here because this community is the most relevant to give me an honest take.

The product : Supadrop, a static site hosting platform focused on simplicity. Drag, drop, your site is live in 30 seconds. SSL and QR code generated automatically. No CLI, no GitHub, no config files.

Where I'm trying to differentiate :
- Drag-and-drop instead of CLI / GitHub setup
- Custom domain support included
- Auto-generated QR code per site
- Focus on non-technical users : restaurant owners, job seekers, vibe coders shipping AI-generated sites

Where I know I'm weaker :
- No CLI / no Git integration (intentional, but I know some of you will miss it)
- Free 15-day trial instead of a permanent free tier (I know that's debatable)

Right now I have one real user : a restaurateur who uploaded his menu and got a QR code for his tables. Validated something, but not enough to know if I'm on the right track.

What I'm looking for :

  1. Honest take on the landing page (does the value land in 5 seconds ?)
  2. Feedback from people who've tried similar tools (Tiiny, Netlify Drop, Static.app)
  3. Use cases you'd push if you were me

honesty welcome 🙏

u/International_Lack45 — 5 days ago

Netlify Edge Functions + SvelteKit: anyone getting random 504s on cold starts?

Moved a small site over to SvelteKit with a couple Edge Functions and overall it’s been solid, except for one weird issue. If the site sits inactive for a bit, the first request to one endpoint either takes forever or just 504s. After that it’s fast again. Everything works fine locally and it was totally fine on Railway before this. The function itself is super simple too, so I’m kind of stumped. Starting to think it’s something with the Edge runtime or Vite bundling weirdness. Logs don’t show much since it dies before anything useful gets written. Anyone else run into this?

reddit.com
u/ClaireBlack63 — 4 days ago

accidentally uploaded my entire .env file to GitHub

I’m still pretty new to web development and didn’t realize my .env file was being tracked by Git. I pushed the repo publicly for a school project and only noticed later that my API keys were visible the whole time.

I removed it and regenerated the keys, but now I’m paranoid about what else I might accidentally expose in future projects. What beginner GitHub mistakes did you make early on that taught you an important lesson?

reddit.com
u/akaiwarmachine — 7 days ago

I Wanna Push the Limit!

Hey all! Just wanted to think out loud here again in case anyone's got some good insight ^^

Every time I learn a new static hosting trick, I end up realizing the ceiling is somehow higher than I thought! Then someone does something completely ridiculous with build steps, client-side state, generated data, service workers, or browser APIs and suddenly a project that sounds impossible is technically still “static.”

At this point I genuinely don’t know where the line is anymore??? Like I’ve seen people on here do a bunch of CRAZY stuff without a backend. Now I’m curious what the absolute limit would even look like!

What’s the most complicated project idea you think could realistically be pulled off using ONLY static hosting and browser-side logic? I’m talking borderline irresponsible levels of pushing the definition of “static”!!! I kinda wanna take a crack at it myself just to see >:D

reddit.com
u/LibrarianOk7936 — 6 days ago

Static hosting made me rethink how marketing teams build landing pages

Small update from my “why does this even work better?” phase of learning web development. Over the weekdays I rebuilt one of our older campaign pages as a static deployment just to understand the pipeline better. The layout and content stayed mostly the same. I just removed a lot of the extra stuff running in the background and deployed the page as prebuilt static files instead of pushing it through our usual CMS workflow.

What caught me off guard was how noticeable the difference felt outside of benchmarks and performance reports. One of the girls from our content team opened the page using mobile data and asked if I had removed a bunch of assets because it loaded way faster than our usual campaign pages. The funny part is that visually, it looked almost identical.

The deeper I look into it, the more it feels like a lot of marketing stacks are carrying frontend overhead that barely contributes to the actual user journey. Multiple trackers initializing on load, third-party scripts blocking render, heavy client-side hydration for pages that are basically informational. Meanwhile the marketing team is spending weeks optimizing CTR and targeting precision only to route traffic into pages with unnecessary latency on first paint.

I’m starting to think performance budgets should sit closer to acquisition strategy than engineering cleanup. Especially for paid traffic where every extra second before interaction probably compounds bounce behavior.

Curious if anyone here has seen measurable conversion changes after moving parts of their stack toward static delivery, edge caching, or reducing client-side JS. I’d love to know where the biggest gains actually came from in production.

reddit.com
u/Boring-Opinion-8864 — 6 days ago

I didn't really create THIS for static hosting but you can use it that way too.

I got laid off and I needed a place to host my portfolio, more projects to show off in my portfolio, and an easy way to share it while networking.

To kill every bird(ever) with one stone, I decided to build a react-native app that can host whatever I drop into it. It's meant to keep content you use and share often readily available. Kinda like google or apple wallet for "stuff". My portfolio is a static HTML page and I host it in there along with my resume and a vCard. The idea was "Digital EDC", pocket blob storage with some convenient tools built in.

The free version comes with 3, 50mb "slots" that have stable urls. You can swap out the content whenever, the urls stay the same.

It's not fully released but I have limited open testing iOS spots available and closed testing spots for android. It's also available on web, though since it's more meant as an out and about sharing app, web is mostly just for the convenience of being able to easily upload/download files without having to transfer them some other way.

I'm curious of what you all think of this idea. It's certainly not an "enthusiast" level static hosting solution, but should work for simple stuff. Let me know if you wanna try it and I'll add you to whatever test you prefer.

Testers get free lifetime premium (extra slots and whatnot).

u/BurtMacklinUSOB — 6 days ago

Keeping a WebSocket connection alive with a serverless backend

I have a statically hosted dashboard that needs to display real-time stock prices. I want to use WebSockets, but my backend is entirely serverless functions. Since serverless functions die after the request finishes, how do you handle persistent WebSocket connections? Do I have to spin up a dedicated VPS just for the socket server?

reddit.com
u/standardhypocrite — 7 days ago

As a student, is it better to learn backend first or just focus on frontend + deployment?

I’m currently building small projects using GitHub + static hosting (Netlify/Vercel style workflows), mostly frontend with JSON files as mock data. It feels really productive because I can actually deploy things quickly, but I keep seeing advice saying “you must learn backend early.”

Now I’m confused if I’m missing something important or if this is actually a good starting path.

For those who started as students, did you focus on frontend + JSON first or jump straight into backend systems?

reddit.com
u/akaiwarmachine — 8 days ago

Can WASM on the edge solve the Dynamic Logic problem for static sites?

I’m looking into using WebAssembly (WASM) at the edge to handle heavy computations that usually require a full backend, like image processing or complex data filtering. The idea is to keep the site static but offload the heavy lifting to edge nodes. My worry is the cold-start latency and whether the overhead of shipping WASM binaries to the edge actually saves any time compared to just using a client-side library. Has anyone successfully moved high-compute tasks to the edge without killing their TTFB?

reddit.com
u/cloudtakeflight — 8 days ago

Update: Solved the search snag (boring=fast)

Hey everyone, thanks for the suggestions on my last post. I was definitely overthinking the "minimalist" search thing and almost fell back into the trap of looking for a heavy solution for a light problem.

I ended up taking the advice about keeping the scope small. Instead of trying to build a full-blown search engine index, I went with a simple script-based approach. Since my tool is essentially just a structured list of resources, I realized I didn't need a complex crawler or a managed backend.

For the index, I wrote a small script that runs during the build process to generate a flat data file which simply pulls the titles, tags, and descriptions from my static files. The logic is handled by a lightweight library on the client side; it’s efficient, and since the data file is only a few kilobytes, the load time is basically unnoticeable even on a spotty mobile connection. The workflow remains fully "boring" with no extra servers or external subscriptions, and it all deploys automatically to my hosting provider along with the rest of the site.

The result is exactly what I wanted—instant, fuzzy search that feels snappy without adding any "bloat" to the stack. It’s funny how the hardest part of static hosting is often just resisting the urge to make things complicated.

Next on the list is looking into some minimalist serverless functions for a simple contact form, but I’m going to enjoy this "boring" win for a bit first. Thanks again for the sanity check!

reddit.com
u/NoOpposite8769 — 8 days ago

Can static sites actually handle agentic commerce?

I’m trying to prep for AI agents that shop and plan for users, but I don't see how it fits a static-first setup. If the future is sites that adapt in real-time, is pre-rendered HTML dead? I want to keep the speed of a static host, but I’m not sure how to support agents that need to take actions. Is there a way to layer this on top, or are we stuck going back to heavy SSR?

reddit.com
u/babyflocologne — 10 days ago

Are we relying too much on frameworks? I wrote a short blog about this

Lately I’ve been thinking about how often we rely on frameworks without really understanding what’s happening underneath.

I wrote a short blog about first principles thinking and how it can help us become better developers instead of just assembling things.

Would really appreciate honest feedback, especially from people with more experience.

https://drishtipixiee.hashnode.dev/beyond-syntax-thinking-like-an-engineer-not-just-a-framework-user

reddit.com
u/Upper-Rock-875 — 11 days ago

Edge function proxies for HTTP-only cookies on a static host

I want to use proper HTTP-only cookies for authentication, but I don't have a traditional backend. I am thinking of using an Edge function to act as a proxy. It intercepts the login request, calls an external Auth0 API, takes the JWT, sets it as an HTTP-only cookie, and redirects the user back to the static site. Has anyone implemented this? Does it feel too brittle?

reddit.com
u/standardhypocrite — 9 days ago