Hi Andy,
This is a bit depending on your server. The most supported way al around
seems indeed append a query string.
You can use this one to set it to one day, or an hour, or even 10 minutes,
by amending the length.
`${url}?v=${new Date().toISOString().slice(0,13)}`
(sample is using the ES6 template strings. you can use that natively in all
browsers that have official angular support)
Regards
Sander
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.