Some of my css files and most of my js files are not loading
I started having problems after a Windows update last week. Since then I have reinstalled my server stack a couple of times, but still have the problem.
Using invoke-WebRequest in a power shell (e.g. invoke-WebRequest -Uri http://localhost/CSS/ui.jqgrid.css
). I have found that css files are not loading if they are greater than about 10kb.
I took a large file and cut it down to the size of one that was loading ok and it then loaded. I converted it to CR/LF line endings which took it over the 10k and it failed. I then removed a few lines and it loaded again so it is definitely a size issue. I suspect the same thing is happening with .js files.
Is there a limit setting I need to add to nginx.conf or php.ini?
Reading some of the answers to similar past questions most talk seems to be about browser limitations but no mention of server settings. I have tried in Chrome and Edge but get the same problem.
Error message from invoke-webrequest when css file size>10kb is:
invoke-WebRequest : The underlying connection was closed: An unexpected error occurred on a receive.......
Typical error seen in web browser dev tools is:
Failed to load resource: net::ERR_CONNECTION_RESET