Welcome to Centmin Mod Community
Register Now

Nginx PageSpeed Sometimes CSS file doesn't load but it's rare

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by Jon Snow, Jan 25, 2021.

  1. Jon Snow

    Jon Snow Active Member

    618
    114
    43
    Jun 30, 2017
    Ratings:
    +173
    Local Time:
    2:06 AM
    Nginx 1.13.9
    MariaDB 10.1.31
    It's rare, but sometimes my page loads a blank white page with only the text content. That means the CSS file isn't loaded. This isn't a common thing and it happens VERY RARELY.


    I'm trying to figure out what the cause is. The only things that I can think of that might cause this are Nginx PageSpeed and a local problem only tied to myself.

    Untitled-1.png

    So I figure it's a Nginx PageSpeed issue?

    This is xenForo 2.1 while logged in if that's important. I also use the Redis code in my src/config.php file that was recommended here when xenForo 2 came around.

    Because of how rare it occurs, it's not something I can test.
     
  2. eva2000

    eva2000 Administrator Staff Member

    47,292
    10,703
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,628
    Local Time:
    3:06 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    You'd have to troubleshoot and tweak it yourself following these guides and info outlined below
    You may need to exclude/disable some URL paths i.e. css.php from ngx_pagespeed
     
  3. noly

    noly Member

    99
    16
    8
    Jul 24, 2017
    Germany
    Ratings:
    +28
    Local Time:
    7:06 AM
    1.18.x
    10.2.x
    I confirm this...happens on some of my sites rarely and on first load only too.