LoginSignup
0
0

More than 5 years have passed since last update.

Redmine > SSL > 動作遅くなる時の対処

Last updated at Posted at 2017-11-30

SSLにした瞬間に遅くなる

SSLにした瞬間に動作がもっさり遅くなりました。

原因はキャッシュを不可にしている事からのようです。

以下を参考にさせていただきました。

lambda me : Redmineが急に遅くなった

でぃべろっぱーってへてむる: SSLだとRedmineが遅い件

対処法

以下のファイルに数行追加します。
vi /etc/httpd/conf.d/ssl.conf
ファイルの末尾、の上に以下を追記しました。

## 静的ファイルをキャッシュ
Header onsuccess append Cache-Control public  

ExpiresActive On 
ExpiresByType text/css "access plus 3 days" 
ExpiresByType application/x-javascript "access plus 3 days" 
ExpiresByType image/jpeg "access plus 3 days" 
ExpiresByType image/png "access plus 3 days" 
ExpiresByType image/gif "access plus 3 days"

ファイルを保存してRedmineを確認すると、早くなりました。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0