RewriteEngine On
# If your application is accessed via an Alias directive,
# then you MUST also set the RewriteBase in this htaccess file.
#
# Example:
# Alias /myapp /path/to/myapp/public
# RewriteBase /myapp
#for google accelerator
#RewriteCond %{HTTP:x-moz} ^prefetch
#RewriteRule ^/*admin/.* - [F,L]
RewriteRule ^$ cache/index.html [QSA]
RewriteRule ^([^.]+)$ cache/$1.html [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php [QSA,L]