Layered content repository for web resources