Add sample config.php
Fix paging error when active cache template