psychopy.org | Reference | Downloads | Github

Disable Cache on Pavlovia using Cache-Control header

When running an experiment through Pavlovia, I want to be sure to always serve the latest version of the experiment. Thus, I suggest that the Pavlovia servers are modified to return the following HTTP-Header for the delivery of all resources associated with running experiments (i.e., when being called through https://run.pavlovia.org/):

Cache-Control: no-cache, no-store, no-transform, must-revalidate

This will certainly increase the required bandwith a bit, but in my opinion this is more than worth it.

All the best,

Frank.

4 Likes