Is there a way to automatically clear the cache on a participant computer at the end of running an experiment on Pavlovia?
My concern is about preventing participants from accessing stimulus files, that were downloaded to their computer for the purposes of the experiment, after the experiment has finished.
This is of particular concern if the stimuli are copyright protected or have restrictions for distribution specified by the research ethics board.
If automatically clearing the cache is not possible is there any other protection that is currently in place, or that could be put in place?
Thank you.
Hello,
you can’t clear a web-browser’s cache. Would you like to have a website clear your browser’s cache? I doubt it.
You can prevent a browser from loading a html-page in its cache by using some meta-tags (and hope that the browser adheres to the meta-tags). You have to check whether your experiment runs the way to intend in to run.
These tags instruct the browser not to cache the html-page. Never tried it with PsychoJS.
<meta http-equiv='cache-control' content='no-cache'>
<meta http-equiv='expires' content='0'>
<meta http-equiv='pragma' content='no-cache'>
I guess, a more successful way is to get the right to use copy-protected material and convince the research ethics board that its request does make a lot of sense technically.
Best wishes Jens