Port caching turned on, with flag to disable. Closes #112.
Merge branch 'portCaching'