Skip to content

Commit

Permalink
Adding more information on the addTimestampsToUrls option (#10414)
Browse files Browse the repository at this point in the history
Co-authored-by: Henner Kollmann <henner.kollmann@gmx.de>
  • Loading branch information
sknick and hkollmann committed Jun 15, 2022
1 parent c48807d commit ffa0c01
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions docs/development/compiler/configuration/compile.md
Original file line number Diff line number Diff line change
Expand Up @@ -282,10 +282,14 @@ functionality - a good example of a use case for this would be a class which, wh
compiled for the browser, is mostly proxy method calls (or whatever) to the server.
- `addTimestampsToUrls` - (**optional**) if set to true, then all the URLs which are
output will have the timestamp of the file appended as a quwery parameter; this allows
strong caching parameters to be set by the web server, but also guarantee that
newer versions of the files will be detected by the cache. This defaults to `true`
for build targets and `false` for source targets
output will have the timestamp of the file appended as a query parameter; this allows
strong caching parameters to be set by the web server and also guarantee that
newer versions of the files will be detected by the cache. This defaults to `true`
for build targets and `false` for source targets. Note that this option is entirely
dependent on the application's index.html containing a template reference to the
`indexJsTimestamp` variable in the `<script>` tag that loads the `index.js` file:
`<script type="text/javascript" src="${appPath}index.js${indexJsTimestamp}"></script>`
### Multiple Applications and Targets
Expand Down

0 comments on commit ffa0c01

Please sign in to comment.