Issue #58

Implement a cache for field extraction
(cherry picked from commit 8354a4b)