Skip to content

Commit

Permalink
Update README with clarification on asset tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
nateberkopec committed Mar 29, 2016
1 parent ab01967 commit 8e248db
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,9 @@ Annotate asset elements with `data-turbolinks-track="reload"` and include a vers
</head>
```

Note that Turbolinks will only consider tracked assets in `<head>` and not elsewhere on the page.
Note that Turbolinks will only consider tracked assets in `<head>` and not elsewhere on the page.

Any HTML tag - `<link>`, `<script>`, or even `<meta>` and others - can use this feature. Any element annotated with `data-turbolinks-track="reload"` will trigger a full reload if the element changes in any way (i.e. its attributes are not identical).

## Setting a Root Location

Expand Down

0 comments on commit 8e248db

Please sign in to comment.