jquery-mobile/.htaccess
Kin Blas d5a2ed2f10 Fixed 413 - Dev issue: our .htaccess file on the server is doing a 301 redirect which is causing css and image loading issues.
- Switch to using a combine.php library and index.php scripts within each directory for combining files. This works around the iOS webkit bug that prevents images from being displayed the next time the page is loaded.
2010-11-09 13:58:28 -08:00

19 lines
No EOL
422 B
ApacheConf

# the rewrite engine requires the ability to follow sym links
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^js/all$ js
# Turn on Expires and set default to 0
ExpiresActive On
ExpiresDefault "access"
# cache text, css, and javascript files for one week
<FilesMatch ".(html|png|jpg|gif|js|css)$">
Header set Cache-Control "max-age=1"
</FilesMatch>
AddType text/css themes/default
AddType text/css themes/dobson