我目前在我的新网站上使用页面速度,非常高兴.
但我刚刚意识到我的/ PHPmyadmin现在是空白的.
但我刚刚意识到我的/ PHPmyadmin现在是空白的.
我知道这是因为pagespeed,因为当我去/ PHPmyadmin /?PageSpeed = off;它又有效了.
所以我的想法是只在/ PHPmyadmin和/ PHPmyadmin / *上禁用pagespeed
/ PHPmyadmin链接使用符号链接.
我正在使用apache2.
<Directory /var/www/mywebsite/> AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/javascript #ModPagespeedEnableFilters lazyload_images,defer_javascript,insert_dns_prefetch,collapse_whitespace ModPagespeedEnableFilters lazyload_images,combine_javascript,combine_css RewriteBase / RewriteRule ^index\.PHP$- [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.PHP [L] FileETag none ExpiresActive On ExpiresDefault "access plus 5 seconds" ExpiresByType image/x-icon "access plus 2500000 seconds" ExpiresByType image/jpeg "access plus 2500000 seconds" ExpiresByType image/png "access plus 2500000 seconds" ExpiresByType image/gif "access plus 2500000 seconds" ExpiresByType application/x-shockwave-flash "access plus 2500000 seconds" ExpiresByType text/css "access plus 600000 seconds" ExpiresByType text/javascript "access plus 200000 seconds" ExpiresByType application/javascript "access plus 200000 seconds" ExpiresByType application/x-javascript "access plus 200000 seconds" ExpiresByType text/html "access plus 600 seconds" ExpiresByType application/xhtml+xml "access plus 600 seconds" Options -Indexes AllowOverride All </Directory>
任何想法社区?
非常感谢 !!