mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-05-09 07:04:44 +00:00
- 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.
19 lines
No EOL
422 B
ApacheConf
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 |