mik icon indicating copy to clipboard operation
mik copied to clipboard

Cache the CONTENTdm collection field configuration

Open mjordan opened this issue 7 years ago • 0 comments

The CdmToMods metadata parser's getCollectionFieldConfig() method makes an HTTP request to $wsUrl . 'dmGetCollectionFieldInfo/' . $alias . '/json' for every MODS record it creates. This could be cached, reducing the number of calls to the CONTENTdm server and also allowing us to create a PHPUnit test for the CdmToMods metadata parser.

mjordan avatar Jun 25 '17 18:06 mjordan