Skip to content

Nitro static preset optimization #1243

@Muska-Ami

Description

@Muska-Ami

Update: this only happened when i18n disabled.

Now use docus with SSG only generate this files:

ℹ Prerendering 6 initial routes with crawler                                                                                                         nitro 18:33:43
  ├─ / (45ms)                                                                                                                                         nitro 18:33:43
  ├─ /robots.txt (47ms)                                                                                                                               nitro 18:33:43
  ├─ /200.html (46ms)                                                                                                                                 nitro 18:33:43
  ├─ /404.html (46ms)                                                                                                                                 nitro 18:33:43  
  ├─ /__nuxt_content/docs/sql_dump.txt (48ms)                                                                                                         nitro 18:33:43  
  ├─ /__nuxt_content/landing/sql_dump.txt (48ms)  

It would be more convenient for static hosting if the HTML could be generated according to the content route, instead of just generating 200.html.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions