Caching strategy handles change poorly #2
Labels
bug
Something isn't working
enhancement
New feature or request
help wanted
Extra attention is needed
Currently, it is difficult to update a puzzle if a mistake is identified. This is because of the caching strategy in run_on_mount_and_update .
At the moment, the unencrypted content of a puzzle that is unlocked by a user persists in thewir browser, even if the encrypted content was updated.
This could be addressed by using the previous puzzle's solution to unencrypt the updated (encrypted) puzzle
How to handle the decryption of a locked puzzle when the answer to a previous puzzle changes to the answer of challenges remains a mystery to me.
There is probably a better way of implementing the logic, so overhauls are welcome.
The text was updated successfully, but these errors were encountered: