McStasMcXtrace / McWeb

Code and documentation for e-neutrons.org platform
3 stars 3 forks source link

Handle to remove "old cached data" #238

Open willend opened 5 years ago

willend commented 5 years ago

Could we think of a way to remove old simulated data for a given instrument - i.e. those older than 'date'?

(Otherwise one easily gets into the situation that an updated instrument appears to not produce the "right" data.)

I will myself look into editing the browse template to make it more clear that something came from the cache....

willend commented 5 years ago

@ebknudsen is this clear enough?

ebknudsen commented 5 years ago

yup - ought to be.

climbcat commented 5 years ago

This has been implemented (deployed on elearn1). The django command is called "disable_cachefrom".

To deploy on e-neutrons, we need to upgrade STABLE to current main, and migrate the db. When upgrading to main, a recent McCode version is also required for the html plotter to work.