PM bug report: Repeated CSS file downloads.

Talk about code development, features, specific bugs, enhancements, patches, and similar things.
Forum rules
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.

This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.

Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
BenFenner
Keeps coming back
Keeps coming back
Posts: 882
Joined: 2015-06-01, 12:52
Location: US Southeast

PM bug report: Repeated CSS file downloads.

Post by BenFenner » 2026-04-01, 23:20

I'd been working on finally implementing asynchronous jobs for my web site, and in the madness I noticed (and at first thought it was related) that one page in particular (sorry it's behind an admin login wall) shows in the Network tab of the dev tools that my "main.css" file is downloaded twice. This first one is a 304 response, the second one that comes later in a 200 response. It does not do this for an otherwise nearly identical page (behind a super-mod login wall). I ended up searching for the issue and ended up finding this!

https://bugzilla.mozilla.org/show_bug.cgi?id=1306892

(From here: https://stackoverflow.com/questions/426 ... aded-twice)

I checked Firefox ESR 115 and it's not showing the same behavior, so presumably they fixed it at some point.
And of course I only have one reference to the CSS file in question in my HTML, and it is not cyclically loaded...

I wish I could give a working example that's not behind a login/permissions wall. I will see if I can find one.

Edit: I went to go take a screenshot to better explain the situation and what type of response I was getting (the 200 response was for "[JS] stylesheet" which was very odd). But I can not longer reproduce the issue. Soooooo.... Never mind. =/