use cache for pseudo-css-attr