Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

You can build a Next.js app without a database when its data is fixed at deployment time, is meant to be public, or belongs only to one visitor’s browser. Those approaches are not interchangeable: build-time data does not handle runtime writes, a file in public/ is public, and browser storage is not shared with other visitors. If users or server instances must share changes that persist at runtime, the app needs a durable storage service or a self-hosted environment with explicit persistence and coordination guarantees.

Choose storage by when the data changes and who needs it

Before choosing a file or API, answer four questions: when does the data change, who is allowed to read it, which visitors or server instances need to share it, and what persistence does the host guarantee? The right database-free option depends on those boundaries—not just on the size of the dataset.

Option Good fit Important boundary
Imported source data or build-time generation Version-controlled content that changes with a code or content deployment Changes generally require regenerating and redeploying the site. Keep private source data out of public output and client bundles.
public/ files Images, downloads, and other assets intended to be accessible by URL Files are public assets, not private application storage. Next.js defaults their cache header to public, max-age=0.
Static export Sites whose pages and assets can be generated at build time and served by a static web server There is no Next.js runtime in the exported site; runtime-dependent features such as API routes and ISR are unsupported.
Browser storage Personal, browser-local state such as a visitor’s preference It is available in the browser, not during server rendering, and does not provide shared storage for other visitors or server instances.
Local filesystem or Next.js cache Temporary files, or a self-hosted single instance with persistent local disk Ephemeral hosts may not preserve local disk. Default caches are instance-specific unless coordinated.
Runtime route handlers Server-side request logic in a deployment that supports a Next.js runtime Runtime logic alone does not guarantee durable or shared storage; some hosts run handlers as lambdas with filesystem and cross-request sharing limits.

Use imported data when changes ship with the site

For a small dataset that is maintained alongside the application and changes only when you deploy, keep it in source-controlled files and use it to generate pages or props during the build. In the Pages Router, getStaticProps runs at build time to prerender a page; Next.js also creates a JSON file containing the returned props for client-side navigation. See the Next.js Pages Router documentation for getStaticProps.

This pattern works well for catalogs, reference material, or other read-mostly content. It does not make the data dynamically writable: absent another runtime feature, updates take effect when the relevant pages or export are regenerated and deployed. Treat any data included in generated HTML, JSON, or client-side code as content that visitors can receive. Do not put secrets or private datasets in files that become part of the public output.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Elebase USB to USB C Adapter for iPhone 18 Pro Max,USBC Car Charger Adapter
  • Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
  • Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
  • Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
  • Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
  • 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.

Use public/ for files that should be served by URL

Put images, downloadable documents, and other intentionally public assets in the Next.js public/ directory when serving them as static files is the goal. Next.js serves those files by URL path; the directory is not a private store or a way to keep application data secret. Its documentation says it “cannot safely cache assets in the public folder because they may change,” and the default cache header is public, max-age=0. See Next.js file-system conventions: public.

If an asset changes, consider whether your hosting and cache configuration should change as well. A public URL is appropriate only if anyone who can reach that URL may access the file.

Rank #2
Anker USB-C Hub, 5-in-1 USB Hub for Laptops, 4K HDMI Multiport Adapter
  • 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
  • 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
  • Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
  • 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
  • What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.

Export the site when all required output can be generated ahead of time

A static export produces HTML and assets that a static web server can serve without running a Next.js server. That suits a site whose routes and data can be prepared at build time. The trade-off is fundamental: the exported site has no Next.js runtime to answer requests or perform runtime work. The official guide lists API routes and Incremental Static Regeneration (ISR), among other runtime-dependent features, as unsupported in export mode. Request-dependent behavior therefore cannot be computed by the exported Next.js site itself. Check the Next.js static exports guide for the current supported-feature list before choosing this deployment mode.

Because an export publishes web files, credentials and private datasets must not be included in the exported output. Static hosting changes how pages are delivered; it does not turn public files into private storage.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Sale
Anker USB C Hub, 7in1 Multi-Port USB Adapter, 4K@60Hz USBC to HDMI Splitter
  • Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
  • Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
  • Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
  • Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
  • What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.

Keep browser-only state in the browser

Browser APIs such as window and localStorage are unavailable while Next.js is rendering on the server. Read or write them only in browser-side code, rather than assuming the value exists during server rendering. The Next.js documentation demonstrates this distinction in its static export deployment guidance.

This is a fit for state scoped to an individual browser, such as a display preference, when the product can work with that scope. It is not a shared source of truth for other visitors or your server. The cited Next.js guidance does not establish numeric capacity or durability guarantees for browser storage, so choose a browser API based on the needs of your application without relying on an unsupported quota assumption.

Rank #4
Sale
UGREEN USB to USB C Adapter Combo 4-Pack, 10Gbps USB C Converter Space Gray
  • Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
  • Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
  • Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
  • Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
  • Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Do not mistake a local disk or cache for shared durable storage

In self-hosted Next.js, the default cache uses local disk. That can be useful where the deployment has persistent disk and a single instance, but it is not a general-purpose application datastore. On ephemeral compute, local disk may be unavailable or may not survive replacement of an instance. With multiple instances, their default caches are separate unless you coordinate them. The Next.js self-hosting guide explains these hosting-dependent behaviors.

Temporary work files may be appropriate if the host explicitly provides suitable temporary storage. Do not rely on them for records that must survive instance replacement or be visible to other instances.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Best Value
Anker USB C Hub, 5-in-1 USBC to HDMI Splitter with 4K Display
  • 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
  • Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
  • Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
  • HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
  • What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.

Use runtime handlers only with a storage plan for runtime writes

When an application needs server-side request logic, Next.js route handlers can provide it in a deployment that supports a Next.js runtime. But adding a route handler does not itself persist data. The Next.js Backend for Frontend guide notes that some hosts deploy route handlers as lambdas that cannot share data between requests and may not support filesystem writes.

If multiple visitors or server instances must observe runtime changes, or data must survive an ephemeral instance being replaced, build-time files, browser storage, and instance-local disk do not meet that need on their own. Choose a deployment-supported durable service, or self-host with explicit persistence and coordination guarantees. The storage choice must match what the host actually guarantees.

Keep secrets out of client-visible output

Next.js loads .env* files into process.env; environment variables are server-only by default. A variable prefixed with NEXT_PUBLIC_ is inlined into the browser JavaScript bundle at build time and must not contain a secret. The official environment variables guide also advises keeping secrets out of committed files; environment files are generally added to .gitignore.

Apply the same visibility check to datasets: if a value is embedded in a generated page, exported file, public asset, or browser bundle, treat it as available to the client rather than as private server-side data.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.