前提・実現したいこと
上記質問させて頂きます。ワードプレスで製作しているサイトで、且つ画像が多いため、速度が遅くなりがちです。なので独学というか、googleなどで検索して、速度向上のための施策をとりあえずどんどん試しております。今現在はこれがベストと思う、記述をしておりますが、もっと適した方法があれば教えて頂けたら幸いです。ちなみに、記述内容などほぼ理解しないまま、どんどん試しているので、難しいことはほとんどわかりません。教えて頂きながら検索などで調べていこうと思います。
ここに質問の内容を詳しく書いてください。
(例)PHP(CakePHP)で●●なシステムを作っています。
■■な機能を実装中に以下のエラーメッセージが発生しました。
発生している問題・エラーメッセージ
エラーメッセージ
該当のソースコード
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress ## # Symlinks?CPI??????????????????? # CPI?????????mod_rewrite???????????????? # ????????????????????? ## # CPI?????ACE01_2015??????? Options +SymLinksIfOwnerMatch # CPI?????ACE01_2011??????? Options +FollowSymLinks <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / # http???????https????????www????? RewriteCond %{HTTPS} off RewriteRule ^(.*$) https://mariko-jp.com/$1 [R=301,L] </IfModule> # BEGIN Browser Cache <ifModule mod_expires.c> ExpiresActive On ExpiresByType image/png "access plus 1 weeks" ExpiresByType image/jpeg "access plus 1 weeks" ExpiresByType image/gif "access plus 1 weeks" ExpiresByType text/css "access plus 1 weeks" ExpiresByType text/js "access plus 1 weeks" ExpiresByType text/javascript "access plus 1 weeks" ExpiresByType application/javascript "access plus 1 weeks" ExpiresByType application/x-javascript "access plus 1 weeks" </ifModule> # END Browser Cache <IfModule mod_deflate.c> SetOutputFilter DEFLATE # Mozilla4?????????????????MSIE??? BrowserMatch ^Mozilla/4.0[678] no-gzip BrowserMatch ^Mozilla/4 gzip-only-text/html BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html # gif?jpg??????????????????? SetEnvIfNoCase Request_URI .(?:gif|jpe?g|png|ico)$ no-gzip dont-vary SetEnvIfNoCase Request_URI _.utxt$ no-gzip # html?css????? AddOutputFilterByType DEFLATE text/plain AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE text/xml AddOutputFilterByType DEFLATE text/css AddOutputFilterByType DEFLATE application/xhtml+xml AddOutputFilterByType DEFLATE application/xml AddOutputFilterByType DEFLATE application/rss+xml AddOutputFilterByType DEFLATE application/atom_xml AddOutputFilterByType DEFLATE application/x-javascript AddOutputFilterByType DEFLATE application/x-httpd-php </IfModule>
試したこと
ここに問題に対して試したことを記載してください。
補足情報(FW/ツールのバージョンなど)
サイトはこちらです。
https://mariko-jp.com
ここにより詳細な情報を記載してください。