Skip to content

Commit

Permalink
improve readme
Browse files Browse the repository at this point in the history
  • Loading branch information
gurgunday committed Jul 26, 2024
1 parent 46ddb93 commit 5070589
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Append unique hashes to assets referenced in your views to aggressively cache them while guaranteeing that clients receive the most recent versions.
This executable lets you append unique hashes to assets referenced in your views to aggressively cache them while guaranteeing that clients receive the most recent versions.

## Usage

Running the following command will scan asset files found in the `roots` path(s) and replace their references with hashed versions in the `refs` path(s):
Running the following command will scan asset files found in the `roots` path(s) and replace their references in the `refs` path(s) with hashed versions:

```sh
npx ghtml --roots="base/path/to/scan/assets/1/,base/path/to/scan/assets/2/" --refs="views/path/to/append/hashes/1/,views/path/to/append/hashes/2/"
Expand Down

0 comments on commit 5070589

Please # to comment.