Skip to content

Is there anyway to reduce the generated html page size? #5053

@jaggerwang

Description

@jaggerwang

We have thousands of markdown pages generated by Java which load data from database, and then build these markdown pages into html pages, each html page's size are about 500KB, and the total page size are more than 1GB. Is there anyway to reduce the generated page's size, or dynamic render page?

We are not using any third party plugins or packages, here is the package.json.

{
  "devDependencies": {
    "vitepress": "^1.6.4"
  },
  "scripts": {
    "dev": "vitepress dev --host 0.0.0.0",
    "build": "vitepress build",
    "preview": "vitepress preview"
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions