removed debug and added http caching