- Added cache check before trying to convert PageData to TypedPageData.
- Added casted TypedPageData to cache to override PageData to increase performance.