Reputation: 55
I recently installed mod_pagespeed on my linux server.
today i noticed that the raw_log contains alot of GET from my own servers Ip. Why is it doing that?
XX.XX.XX.112 - - [08/Aug/2015:15:04:16 +0200] "GET /img/p/da-default-large_default.jpg HTTP/1.1" 200 7018 "http://www.XXXXXXXXXXXXXX-comprehensivedefectivematerialretention-bl2x220c-g7-foundationcare-svc.html" "Serf/1.1.0 mod_pagespeed/1.9.32.4-7251"
XX.XX.XX.112 - - [08/Aug/2015:15:04:06 +0200] "GET /9558-home_default/samsung-s7580-galaxy-trend-plus-pure-white-eu.jpg HTTP/1.1" 200 7027 "http://XXXXX/sph/" "Serf/1.1.0 mod_pagespeed/1.9.32.4-7251"
XX.XX.XX.112 - - [08/Aug/2015:16:35:58 +0200] "GET /themes/css/modules/blockpermanentlinks/img/arrow_right_2.png HTTP/1.1" 302 - "http://www.XXXX/Xknive/" "Serf/1.1.0 mod_pagespeed/1.9.32.4-7251"
XX.XX.XX.112 - - [08/Aug/2015:16:35:58 +0200] "GET /themes/img/jquery/uniform/bg-input.png HTTP/1.1" 302 - "http://www.XXXX/knive/" "Serf/1.1.0 mod_pagespeed/1.9.32.4-7251"
Upvotes: 0
Views: 331
Reputation: 552
In order to optimize the resources (images, js, css, etc.) on your page, mod_pagespeed must first fetch them. By default, it uses loopback HTTP fetches to your server to do this, which is what you are seeing in your logs.
If your setup allows it, you can configure mod_pagespeed to load the resources from disk, instead of HTTP, using the LoadFromFile option.
Upvotes: 1