qa
Signed-off-by: Jeff <jeff@gotenzing.com>
Showing
1 changed file
with
0 additions
and
38 deletions
| ... | @@ -2,51 +2,13 @@ | ... | @@ -2,51 +2,13 @@ |
| 2 | ModPagespeed off | 2 | ModPagespeed off |
| 3 | </IfModule> | 3 | </IfModule> |
| 4 | 4 | ||
| 5 | <IfModule mod_expires.c> | ||
| 6 | ExpiresActive On | ||
| 7 | |||
| 8 | # Images | ||
| 9 | ExpiresByType image/jpeg "access plus 1 year" | ||
| 10 | ExpiresByType image/gif "access plus 1 year" | ||
| 11 | ExpiresByType image/png "access plus 1 year" | ||
| 12 | ExpiresByType image/webp "access plus 1 year" | ||
| 13 | ExpiresByType image/svg+xml "access plus 1 year" | ||
| 14 | ExpiresByType image/x-icon "access plus 1 year" | ||
| 15 | |||
| 16 | # Video | ||
| 17 | ExpiresByType video/webm "access plus 1 year" | ||
| 18 | ExpiresByType video/mp4 "access plus 1 year" | ||
| 19 | ExpiresByType video/mpeg "access plus 1 year" | ||
| 20 | |||
| 21 | # Fonts | ||
| 22 | ExpiresByType font/ttf "access plus 1 year" | ||
| 23 | ExpiresByType font/otf "access plus 1 year" | ||
| 24 | ExpiresByType font/woff "access plus 1 year" | ||
| 25 | ExpiresByType font/woff2 "access plus 1 year" | ||
| 26 | ExpiresByType application/font-woff "access plus 1 year" | ||
| 27 | |||
| 28 | # CSS, JavaScript | ||
| 29 | ExpiresByType text/css "access plus 1 year" | ||
| 30 | ExpiresByType text/javascript "access plus 1 year" | ||
| 31 | ExpiresByType application/javascript "access plus 1 year" | ||
| 32 | |||
| 33 | # Others | ||
| 34 | ExpiresByType application/pdf "access plus 1 year" | ||
| 35 | ExpiresByType image/vnd.microsoft.icon "access plus 1 year" | ||
| 36 | </IfModule> | ||
| 37 | |||
| 38 | # BEGIN WordPress | 5 | # BEGIN WordPress |
| 39 | # The directives (lines) between `BEGIN WordPress` and `END WordPress` are | ||
| 40 | # dynamically generated, and should only be modified via WordPress filters. | ||
| 41 | # Any changes to the directives between these markers will be overwritten. | ||
| 42 | <IfModule mod_rewrite.c> | 6 | <IfModule mod_rewrite.c> |
| 43 | RewriteEngine On | 7 | RewriteEngine On |
| 44 | RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] | ||
| 45 | RewriteBase / | 8 | RewriteBase / |
| 46 | RewriteRule ^index\.php$ - [L] | 9 | RewriteRule ^index\.php$ - [L] |
| 47 | RewriteCond %{REQUEST_FILENAME} !-f | 10 | RewriteCond %{REQUEST_FILENAME} !-f |
| 48 | RewriteCond %{REQUEST_FILENAME} !-d | 11 | RewriteCond %{REQUEST_FILENAME} !-d |
| 49 | RewriteRule . /index.php [L] | 12 | RewriteRule . /index.php [L] |
| 50 | </IfModule> | 13 | </IfModule> |
| 51 | |||
| 52 | # END WordPress | 14 | # END WordPress |
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or sign in to post a comment