basic output caching based on CDbCache
adding period output for NHMW-source