To remove the index.php from the uri (SEO) and improve performance / caching you can create a .htaccess file. This file redirects the page request to the framework and handles the caching.
Using shell access, first enable modrewrite in apache
$ sudo a2enmod rewrite
$ sudo /etc/init.d/apache2 restart
or
$ sudo service apache2 restart
Using shell access, update the virtualhosts file (etc/apache/sites-enabled/000-default).
In the When using a .htaccess file, this should be placed in your DocumentRoot.
IMPORTANT: Set your RewriteBase here and don't forget trailing and leading slashes.
If your page resides at http://www.example.com/mypage/test1
then use RewriteBase /mypage/test1/
.htaccess example:
$ sudo vi etc/apache/sites-enabled/000-default
# REWRITE