You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enabling the Cache caused a bug to show up in Washwatch: serialising the results of rendering a PDF using Pickle failed, because it tries to serialise a Hashlib object for some reason. Pickle makes this impossible to debug. Points to note:
The site was not obviously broken until we tried to access the PDF download link
Having caching enabled from the beginning would have allowed us to spot this quickly.
Caching makes an enormous difference to site performance.
We might want a custom cache module that serialises using JSON instead of Pickle, so that the cache is (a) human-readable and (b) debuggable (Pickle is horrendous in this regard).
The text was updated successfully, but these errors were encountered: