spree/spree — pull request #5566 by mbj (2014-11-04 02:28:42+00:00)
Title: Only reload shipment items on item adjustment

The original issue fixed by
https://github.com/spree/spree/commit/a4b209c7288198124a735d99203102d86be6a935
only affected shipment calculations. Removing the reload for LineItems
allows them, and more important their descendants to be eager loaded.

Also it less frequently nukes lazy load caches, resulting in a small (but under load measurable) performance improvement.

This is part of a series of commits that leads to a more fundamental performance improvement.