Pages and files
The screens of the app and its images, fonts and other files, served close to every visitor.
In stackly.json and the CLI it is pages. Its use, live or draft, is counted as draft requests; see Live app prices.
pages · always included · Workers static assets
The screens of the app and its images, fonts and other files, served close to every visitor.
Use it
- Pages are TanStack Start routes in
src/routes/. Files underpublic/are served as they are. - Give every route a
headfromseo()insrc/lib/seo.tson a public website (see AGENTS.md, Search engines). - Render the main content on the server; give images a size and alt text and lazy-load them below the fold.
Limits
- Static files are cached at the edge; change a file's name or query string to replace it at once.
- Large files people upload belong in
storage, not in the code.
Locally
npm run dev or stackly dev serves the same pages.