Implemented asset cache for asset servlet and optimized privilege checks.