August 2017
Intermediate to advanced
278 pages
8h 53m
English
If you want to see what's going on, we can enable the admin area for modpagespeed. To do this, we need to add configuration items outside of the main server directive. Here's the code to add:
pagespeed on; pagespeed FileCachePath /var/ngx_pagespeed-cache; pagespeed statistics on; pagespeed StatisticsLogging on; pagespeed LogDir /var/log/pagespeed; pagespeed MessageBufferSize 100000;
This allows us to see what's going on within the module, including details such as hits and misses from the cache, image compression, CSS, and JavaScript minification, and more:

If this is a production environment, ensure that you restrict access ...
Read now
Unlock full access