質問するログイン新規登録

回答編集履歴

1

見直し

2021/06/11 04:00

投稿

退会済みユーザー
answer CHANGED
@@ -4,8 +4,9 @@
4
4
 
5
5
  例えばapache httpdの例で行くと、
6
6
  [mod_expires - Apache HTTP Server Version 2.4](https://httpd.apache.org/docs/current/en/mod/mod_expires.html)
7
+ [Alternate Interval Syntax](https://httpd.apache.org/docs/current/en/mod/mod_expires.html#AltSyn)
7
8
  に関する設定を施すことで、
8
9
  ExpiresActive On
9
- ExpiresDefault 60seconds
10
+ ExpiresDefault "access plus 60 seconds"
10
11
  とかなら、せいぜい保って60秒になったりするかと。
11
12
  ExpiresByType ディレクティブを駆使して、特定のMIMEタイプでは短く長くなども出来るようです。