Module

x/fresh/src/runtime/utils.ts>asset

The next-gen web framework.
Extremely Popular
Latest
function asset
import { asset } from "https://dotland.deno.dev/x/fresh@1.7.3/src/runtime/utils.ts";

Create a "locked" asset path. This differs from a plain path in that it is specific to the current version of the application, and as such can be safely served with a very long cache lifetime (1 year).

Parameters

path: string

Returns

string