LoadFromFile logs errors on 404s #972
Comments
fix is ready for review, going into mod_pagespeed code. |
closed via apache/incubator-pagespeed-mod@170f445 |
Failed to stat
error with LoadFromFile
Hi @jeffkaufman and @crowell, I am pulling my hair over an issue I am facing and I wonder if its related to this issue reported here. My joomla site on nginx occasionally throws a 404 error when page exists and the user sees a 404 page. But when they refresh that page, the page loads fine. By checking all settings from both server end and joomla end, I couldnt find anything wrong with it. I was then suspecting if pagespeed was causing the 404 error due to perhaps cache unavailable which shouldnt really happen. This is when I came across this ticket. Could this issue posted here by @jeffkaufman be the reason for my 404 error on page? My error log looks like this when I got a 404 error when page exists:
Same link when it was clicked again, opened fine with 200 status:
However, the second time when the error did not happen, no .woff file was requested. Not sure if they are related, or if my problem is related to the pagespeed cache not found causing a 404 in Joomla like the issue reported above. I have nginx + pagespeed on debian 7 which was installed using Dotdeb Extras package. Lastly, if I do apt-get update, would the ngx_pagespeed in dotdeb be updated too? Can you share your thoughts please? I have been investigating this unknown issue for weeks now. :( |
This is my ngx_pagespeed config file:
|
If you turn on
LoadFromFile
then 404s turn into errors in the log.To reproduce:
The text was updated successfully, but these errors were encountered: