I understand how these work differently in practice. For example, if I have:
request.session.['cart'].remove('item')
the session won't be saved without explicitly calling request.session.modified = True
or having SESSION_SAVE_EVERY_REQUEST = True in settings.py.
Or I could get around using either by using:
cart = request.session['cart']
cart.remove('item')
request.session['cart'] = cart
My question is if there is any drawback to using SESSION_SAVE_EVERY_REQUEST whether in performance or unintended consequences. I don't see any reason why I wouldn't want to save the session if I modified a value in it.