简体   繁体   中英

Pagespeed ignoring app.yaml directives

Pagespeed service is turned on for our PHP application and is working as evidenced by the many pagespeed modifications that are being made to our outputted HTML.

Pagespeed is only implementing it's default rewriters. My app.yaml directives requesting additional rewriters seem to be ignored. Comments are not stripped, whitespace is not collapsed, what am I doing wrong? Here is my app.yaml.

application: redacted
version: 1
runtime: php
api_version: 1
threadsafe: true

pagespeed:
 enabled_rewriters:
 - RemoveComments
 - CollapseWhitespace
 - LeftTrimUrls

试试这个: https//appengine.google.com/打开你的应用程序,点击“应用程序设置”,向下滚动到“PageSpeed Service”,然后点击“Flush Cache”。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM