add cache

Improve speed by adding cache to function parseCssDeclarationBlock.