How to verify that LoadFromFile is valid?

65 views
Skip to first unread message

Wei Yu

unread,
Apr 23, 2020, 11:23:19 AM4/23/20
to ngx-pagespeed-discuss
Hi,

How to verify that LoadFromFile is valid? Is there any mark on the url header after LoadFromFile is loaded?

The following is the configuration given in the official documentation:
Nginx:
 
  pagespeed MapOriginDomain "http://localhost" "https://www.example.com";
  pagespeed LoadFromFile "https://static.example.com" "/var/www/example/static/";
 

Shane Marsh

unread,
Apr 23, 2020, 11:52:59 AM4/23/20
to ngx-pagespeed-discuss
The way I do that is to go to the "Show metadata caches" section of Pagespeed admin and put in a file. If it has been loaded correctly into cache you'll see the meta data. Usually if it can't load from file you'll see the errors in the Message History.

Shane :)
Reply all
Reply to author
Forward
0 new messages