Fix for caching in dropmenu and sitemap handlers, closes #4