Skip to content

Commit

Permalink
update http cert info
Browse files Browse the repository at this point in the history
  • Loading branch information
jessiemongeon1 committed Dec 20, 2024
1 parent 53b36d6 commit 267e87d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 20 deletions.
21 changes: 2 additions & 19 deletions docs/developer-docs/web-apps/application-frontends/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,9 @@ In `dfx.json`, these default settings will resemble the following:
}
```

## Motoko asset canisters
## Asset certification

The [Motoko server](https://mops.one/server) and [certified HTTP](https://mops.one/certified-http) packages can be used for creating asset canisters using the Motoko language.

## Rust asset canisters

The [`ic-asset`](https://crates.io/crates/ic-asset) Rust crate can be used to develop your project's frontend canister.

Additionally, the [ic-http-certification](https://crates.io/crates/ic-http-certification) crate can be used to:
The [ic-asset-certification](https://crates.io/crates/ic-asset-certification) Rust crate can be used to:

- Serve certified assets from the same canister as their primary “backend” canister.

Expand All @@ -94,15 +88,6 @@ Additionally, the [ic-http-certification](https://crates.io/crates/ic-http-certi

- Certify more complex caching or streaming scenarios.


Other third-party options for serving assets include:

- [`ic-pluto`](https://crates.io/crates/ic-pluto)

## TypesScript asset canisters

The [Express HTTP server](https://demergent-labs.github.io/azle/) package via Azle can be used to create asset canisters in TypeScript.

## Limitations

The frontend canister can host roughly 1GiB in static files. It is recommended that you distribute your files across multiple canisters if the total size of all your assets begins to exceed this amount. Once you exceed this figure, your canister may fail to upgrade.
Expand Down Expand Up @@ -149,8 +134,6 @@ let path = HttpCertificationPath::wildcard("/js");

- [Asset canister architecture reference](/docs/current/references/asset-canister).

- Using [raw HTML and JavaScript](/docs/current/motoko/main/getting-started/motoko-introduction) to display a simple HTML entry page.

- [Vite + React + Motoko](https://github.com/rvanasa/vite-react-motoko) template example.

- [Vite + SvelteKit + Motoko](https://github.com/letmejustputthishere/vite-sveltekit-motoko-ii/tree/main) template example.
Expand Down
2 changes: 1 addition & 1 deletion submodules/quill

0 comments on commit 267e87d

Please sign in to comment.