Better cache handling and app/assets exclusion from slug