Link to home
Start Free TrialLog in
Avatar of oaktrees
oaktrees

asked on

Get Javascript Slideshow to Refresh Main Content

Hi,


Using https://revealjs.com/


I have added

<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="pragma" content="no-cache"> <meta http-equiv="expires" content="0"> <meta http-equiv="refresh" content="86400" />

Open in new window

to the head of the containing page.


However, when I make edits to the things that I'm displaying in the slideshow, they don't refresh.  I always have to hit


SHIFT-F5


to get the pages to refresh correctly.


What do you think is happening?


Sincerely,


OT

Avatar of leakim971
leakim971
Flag of Guadeloupe image

<script>
setTimeout(()=> {location.reload(true);},86400); // do it work better with that?
</script>

Open in new window


Avatar of oaktrees
oaktrees

ASKER

Hi leakim,

Seems the same results.  I guess I'm wondering if there's any setting you may know of inside reveal.js?

Sincerely,

OT
ASKER CERTIFIED SOLUTION
Avatar of lenamtl
lenamtl
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial