refactor: asset caching via query param (#192)
This updates the asset caching to use a cache busting query string, rather than a totally separate path. This makes it safer to apply caching automatically to things like `<img>` tags, as the path does not change anymore.
This commit is contained in:
+2
-2
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"tasks": {
|
||||
"test": "deno test -A --no-check=remote --watch",
|
||||
"fixture": "deno run -A --no-check=remote --watch ./tests/fixture/main.ts",
|
||||
"doc": "deno run -A --no-check=remote --watch=www/static,src/,docs/ www/main.ts"
|
||||
"fixture": "deno run -A --watch ./tests/fixture/main.ts",
|
||||
"doc": "deno run -A --watch=www/static,src/,docs/ www/main.ts"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user