Move sitemap higher in routes so that it is matched first.
Remove # if it is in name. Still need to do escaping but this is cleaner for the common case.
Call masonry on document ready and remove timeout.
Preload template cache.