Lofesa commented on issue #1720: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1720#issuecomment-733521372
Whe I have advised about this: >For example, in you fastcgi.conf have you a line like: >fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name; >or in the uhl.site.conf there is this at line 101: >try_files $uri =404; >this try to find a file that match the uri and if not found return a 404. Better try to use this >try_files $uri $uri/ /index.php$is_args$args ; This file and this line are the php location for wordpress. I use some like this in a server block: ``` server { try_files $uri $uri/ /index.php$is_args$args; location ~ \.php(/|$) { fastcgi_split_path_info ^(.+?\.php)(/.*)$; try_files $uri =404; include default.d/fastphp.conf; } } ``` What happens in your site when pagespeed is off? (this maybe achieved with https://uhl.site/?PageSpeed=off) 1.- assets have 2 cache control headers: ``` cache-control: max-age=31536000 cache-control: public, no-transform ``` 2.- Are not compressed, so your config for gzip and brotli are not working, look at where you included the file with gzip and brotli config 3.- `https://uhl.site` is downloaded 2 times with different http headers. When pagespeed is enabled, 1 have `x-page-speed` header and the other not, 1 have `x-cache=HIT` and the other some times have `x-cache= HIT` and others have `x-cache=From uhl.site` Have you a loadbalancer in place? Why this happen? When the blank page comes the http headers don“t have `x-page-speed` and have `x-cache=HIT` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org