Explore the community Forums Lectora Lectora Questions & Answers Force clearing browser cache using Lectora Reply To: Force clearing browser cache using Lectora

#377592 Score: 0
Profile photo of Cam Phillips
Cam Phillips
friend finder
wise owl
curious george
19 pts

Hi Sergey,

I’m experiencing a similar issue where a server-deployed HTML course is showing all Main Menu chapter items as accessible when a learner loads the course (only Chapter 1 should be unlocked at the beginning of the course, with subsequent chapters being unlocked upon completion of the previous).

This learner has been through the course before, but should get a ‘fresh’ course every time they open it (it should not remember or bookmark their position).

I tried adding an OnPageShow JS window.location.reload(true) action on my opening screen to flush the cache, but it appears to break the course and the first page doesn’t load at all.

Do you have any tips for the best placement of this action?