backdrop-contrib / demo

Manage snapshots of a Backdrop site for demo purposes.
https://backdropcms.org/project/demo
GNU General Public License v2.0
1 stars 3 forks source link

Does the demo reset flush all caches? #28

Closed izmeez closed 1 year ago

izmeez commented 1 year ago

I haven't had any issues with the demo module creating and resetting snapshots, but I wonder to myself if it is necessary to flush caches after reset or if it would be helpful to enhance the message: Restored site from ... .sql with an extra line or maybe two that states: "Restored configuration files", "Every cache cleared".

robertgarrigos commented 1 year ago

Demo does not clear caches, indeed. It restores the cache tables available at the time of creating the snapshot.

izmeez commented 1 year ago

That's what I thought initially. I guess that makes sense since they are in the database and saves recreating them.

izmeez commented 1 year ago

I have added this information to the wiki so this issue can be closed.