Purify and cache staticpage content