Adv CSS/JS Agg - Cache-Control The cache-control's max-age header being sent by your web server is not at least 1 month in the future.
The web servers configuration should be adjusted only for AdvAgg files. Was looking that the max-age second counter is over 2,628,000 (1 month), actually got max-age=2592000. You can turn this warning off if you can not adjust this value (Pantheon) by adding this to your settings.php file: $conf['advagg_skip_far_future_check'] = TRUE;
Предупреждение
Adv CSS/JS Agg - Expires The expires header being sent by your web server is not at least 1 month in the future.
The web servers configuration should be adjusted only for AdvAgg files. Was looking for a second counter over 2,628,000 (1 month), actually got 2,592,001 (Sat, 07 May 2016 14:29:43 GMT). You can turn this warning off if you can not adjust this value (Pantheon) by adding this to your settings.php file: $conf['advagg_skip_far_future_check'] = TRUE;
Предупреждение
Adv CSS/JS Agg - gzip Gzip is failing for css files.
The web servers configuration will need to be adjusted. In most cases make sure that the webroots .htaccess file still contains this section "Rules to correctly serve gzip compressed CSS and JS files". Certain default web server configurations (nginx) do not gzip HTTP/1.0 requests. If you are using cloudfront you will have to add metadata to the .gz files. There are some other options if using cloudfront. Raw request info:
stdClass Object
(
[request] => GET /sites/default/files/advagg_css/css__0yUQyR4dPGMuuDe6rDiWwSI2RFobCo8bbTgtwbihrW8__ypUs8IcR-w2YI5YErn1SfZb_ueAh9nUodY7BdOsfLjg__7m_N94a4n4aTqnipCqKTeCubDiDyJ7KCxk5ky9Rirrs.css HTTP/1.0
Accept-Encoding: gzip, deflate
Connection: close
Referer: http://www.truesugaring.com/admin/reports/status?render=overlay
User-Agent: Drupal (+http://drupal.org/)
Host: www.truesugaring.com
Ошибка
Adv CSS/JS Agg - Nginx not sending 404 to Drupal. HTTP requests to advagg for css files are not getting through.
Your nginx webserver is not sending 404s to drupal. Please make sure that your nginx configuration has something like this in it:
###
### advagg_css and advagg_js support
###
location ~* files/advagg_(?:css|js)/ {
gzip_static on;
access_log off;
expires max;
add_header ETag "";
add_header Cache-Control "max-age=31449600, no-transform, public";
try_files $uri drupal;
}
Note that drupal (last line of code above) might be rewrite or rewrites depending on your servers configuration. You might be able to find the nginx configuration file by running
ps -o args -C nginx
or
nginx -t
Raw request info:
stdClass::__set_state(array(
'request' => 'GET /sites/default/files/advagg_css/css__1460039382.css HTTP/1.0
Connection: close
Referer: http://www.truesugaring.com/admin/reports/status?render=overlay
User-Agent: Drupal (+http://drupal.org/)
Host: www.truesugaring.com
',
'data' => '
404 Not Found
404 Not Found
nginx/1.6.0
',
'protocol' => 'HTTP/1.1',
'status_message' => 'Not Found',
'headers' =>
array (
'server' => 'nginx/1.6.0',
'date' => 'Thu, 07 Apr 2016 14:29:43 GMT',
'content-type' => 'text/html',
'content-length' => '168',
'connection' => 'close',
),
'code' => '404',
'error' => 'Not Found',
))
Ошибка
Adv CSS/JS Agg - Nginx not sending 404 to Drupal. HTTP requests to advagg for js files are not getting through.
Your nginx webserver is not sending 404s to drupal. Please make sure that your nginx configuration has something like this in it:
###
### advagg_css and advagg_js support
###
location ~* files/advagg_(?:css|js)/ {
gzip_static on;
access_log off;
expires max;
add_header ETag "";
add_header Cache-Control "max-age=31449600, no-transform, public";
try_files $uri drupal;
}
Комментарии
Хотя gzip включен на сервере.
Мне кажется у Вас двойное пережатие происходит на стороне Advagg Drupal жмет и на сервере nginx пережимает.
Попробуйте в Advagg отключить gzip. У мея похожее было. Я отключил в admin/config/development/performance/advagg/js-compress снял галки с Inline Compression: Use even if this page is not cacheable и Use Packer on non GZip JS Aggregates ошибка пропала
и еще забыл у меня стоит AdvAgg Command Line Compressor
You can use the much faster C version of JSMin (~2ms) by installing the JSMin PHP Extension on this server. пришлось на сервер установить JSMin PHP Extension
Спасибо, попробую.