optimizations for demo pages