2017-12-16 2 views
1

작동하지 않습니다 만료 2 개 구성 요소 멀리 만료 날짜를 지정하지 않고 있습니다 enter image description here워드 프레스는 - htaccess로의 헤더가 www.gtmetrix.com에 따르면

내 htaccess로

을의 끝에 추가

ExpiresActive on 
ExpiresDefault          "access plus 1 month" 
                "access plus 1 month" 

# Web fonts 

# Collection 
ExpiresByType font/collection      "access plus 1 month" 

# Embedded OpenType (EOT) 
ExpiresByType application/vnd.ms-fontobject   "access plus 1 month" 
ExpiresByType font/eot        "access plus 1 month" 

# OpenType 
ExpiresByType font/opentype       "access plus 1 month" 
ExpiresByType font/otf        "access plus 1 month" 

# TrueType 
ExpiresByType application/x-font-ttf    "access plus 1 month" 
ExpiresByType font/ttf        "access plus 1 month" 

# Web Open Font Format (WOFF) 1.0 
ExpiresByType application/font-woff     "access plus 1 month" 
ExpiresByType application/x-font-woff    "access plus 1 month" 
ExpiresByType font/woff        "access plus 1 month" 

# Web Open Font Format (WOFF) 2.0 
ExpiresByType application/font-woff2    "access plus 1 month" 
ExpiresByType font/woff2       "access plus 1 month" 


# Other 

ExpiresByType text/x-cross-domain-policy   "access plus 1 week" 
와 아무 반응이 없습니다. 이 두 구성 요소 만료 날짜를 설정하려면 어떻게해야합니까?

답변

1

스크립트는 서버가 아닌 제 3 자의 스크립트입니다. 만료 헤더를 추가 할 권한이 없습니다.