Add new comment

Theoretically, pagespeed should work even on localhost. The site install location path does not matter in pagespeed. Please execute this test command:
  
curl -I -p http://localhost?PageSpeed=on
  
... you should see something like this among the output:
  
x-page-speed:1.12.34.3-0
  
If you didn't see that line in the output after executing the mentioned test command, you are not calling the pagespeed configuration properly in your nginx configuration. You should review it thoroughly (you might have missed something).

Restricted HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.