catalog optimizations and simplifications

cache style properties
use publishing property to get resource