CSR-550 | Possible fix for safari cache
This commit is contained in:
parent
995a237759
commit
9e2d5288f0
1 changed files with 8 additions and 0 deletions
|
|
@ -3,6 +3,14 @@
|
|||
<head>
|
||||
<script>
|
||||
window.dataLayer = [{}];
|
||||
|
||||
window.onpageshow = function(event) {
|
||||
console.log('onpageshowfired');
|
||||
if (event.persisted) {
|
||||
console.log('event.persisted was true');
|
||||
window.location.reload();
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<script><%= process.env.VUE_APP_GOOGLE_TAG_MANAGER_SCRIPT_BODY %></script>
|
||||
<meta charset="utf-8">
|
||||
|
|
|
|||
Loading…
Reference in a new issue