2014-09-08 2 views
1

내 웹 사이트에 mod_pagespeed가 구현되어 있습니다. 그러나 이름을 매우 긴 파일 이름으로 변경하는 이미지를 최적화합니다. 이것은 이미지 검색에서 좋은 트래픽을 얻고 있기 때문에 검색 엔진 최적화를 해칠 수 있습니까?페이지 최적화 중에 mod_pagespeed 이미지 이름 바꾸기 문제가 발생했습니다

구성 파일에서이 이미지 이름 바꾸기가 가능한 위치는 어디입니까? 페이지 속도 (1.8 ...)의 최신 버전을 사용하고 있습니다.

정말 도움이됩니다.

답변

2

내 서버에서 현재 PageSpeed ​​버전 1.8.31.4-4056을 실행 중입니다.

# Many filters modify the URLs of resources in HTML files. This is typically 
# harmless but pages whose Javascript expects to read or modify the original 
# URLs may break. The following parameters prevent filters from modifying 
# URLs of their respective types. 
# 
# ModPagespeedJsPreserveURLs on 
# ModPagespeedImagePreserveURLs on 
# ModPagespeedCssPreserveURLs on 

는 마지막 세 줄의 주석 경우 같은데, URL이 유지됩니다 : 우리 pagespeed.conf 파일에서, 나는 다음과 같은 항목을 참조하십시오. 그런 다음 Apache를 다시 시작해야합니다. https://developers.google.com/speed/pagespeed/module/config_filters#preserveurls

불행하게도, URL을 보존하는 것은 다른 유용한 기능을 비활성화합니다

나는 여기에서 설정에 대한 몇 가지 문서를 발견했다.