Multiple client apps
This page and the login page are static server-side rendered by MultipleClientsWeb:
no WebAssembly runtime is downloaded here.
- Admin - the
MultipleClientAdminWebAssembly client (role Admin). - Game - the
MultipleClientGameWebAssembly client (any logged in user).
Cache busting
Ways to keep static assets cacheable without serving stale files after a deployment; see the README. The badge
v1.0.0 comes from
MultipleClientShared; in the clients it also imports a versioned JS module.
| Technique | Url on this page |
|---|---|
Host file through @Assets[...]: fingerprinted | app.yitrrxkos3.css |
Library file through @Assets[...]: fingerprinted | _content/MultipleClientShared/shared.imx61fhynq.css |
| Library file, url built by the library: version query | _content/MultipleClientShared/images/logo.svg?v=1.0.0 |
Library JS module for import(): version query | ./_content/MultipleClientShared/js/asset-info.js?v=1.0.0 |
Library scoped CSS @import: fingerprinted by the SDK | _content/MultipleClientShared/MultipleClientShared.{hash}.bundle.scp.css |
Image url() in library scoped CSS: version query added at build | images/badge-bg.svg?v=1.0.0 |
| Client runtime: fingerprinted through the import map | admin-client/_framework/dotnet.js |
Another area's file through @Assets[...]: not in this page's collection, left as is | admin-client/images/admin-picture.svg |
Pictures through @Assets[...]
The admin and game pages show their own picture next to this shared one, resolved by the same component.
@Assets["_content/MultipleClientShared/images/shared-picture.svg"]_content/MultipleClientShared/images/shared-picture.3kxhjkbytp.svgresolved by the Static renderer