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

JavaScriptHTMLWeb Development

Avatar of undefined
Last Comment
lenamtl

8/22/2022 - Mon
leakim971

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

Open in new window


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
lenamtl

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Your help has saved me hundreds of hours of internet surfing.
fblack61