Optimize databases static page view