- Added caching for custom html head parsing to add nonce. - Also moved api docs page into web routes to prevent issues.