Platform
Static sites
The Static Page template lets you host a plain HTML, CSS and JS site on Lofenta with no build step and no runtime to manage. Upload your files over SFTP and they go live instantly, served by a tuned Tengine instance.
How it works
Creating a static site project takes a few steps:
- Create a new project and pick the Static Page template.
- Enable SFTP for the project. You get a folder named
sitein your SFTP root. - Drop your
index.htmland assets into that folder using any SFTP client. - Your files are served immediately at your
*.lofenta.appURL and any custom domain you have configured.
There is no build queue and no deploy step to trigger. Files you write to the site folder over SFTP are live the moment the transfer finishes.
The starter page
When you first create a Static Page project, a branded Lofenta placeholder is shown at your URL. It tells visitors the site is live and waiting for content. Replace it by uploading your own index.html over SFTP into the site folder. The placeholder page is fully self-contained and makes no external requests, so it loads fast on any connection.
site folder has not been replaced. Once you upload your own files the placeholder is gone.Caching
Tengine applies two caching rules out of the box so you get fast asset delivery without any configuration:
- HTML files: served with
Cache-Control: public, no-cache. Browsers revalidate on every request, so edits you upload show up immediately for all visitors. - Static assets (CSS, JS, images, fonts, etc.): cached for 30 days with
Cache-Control: public, max-age=2592000. Use versioned filenames (e.g.app.v2.js) if you need to bust the cache for a specific asset.
Custom domains
Static Page projects support custom domains the same way any other Lofenta project does. Add your domain in the project settings and point a CNAME record at your *.lofenta.app address. TLS is provisioned automatically.
See the custom domains guide for the full setup steps.
Uploading files
Files are uploaded over SFTP. Connect to central.lofenta.com with your Lofenta credentials and navigate to the site folder under your project name. Any SFTP client works: FileZilla, Cyberduck, WinSCP, or the command-line sftp tool.
SFTP must be enabled for your project before you can upload files. Open the project in the dashboard and enable SFTP from the Files panel if it is not already on.