: Duplicate CSS files in Firefox Inspector I'm wondering that why Inspector shows duplicate CSS as follows: What is the difference between Cause column: stylesheet vs JS stylesheet? UPDATE: Here
I'm wondering that why Inspector shows duplicate CSS as follows:
What is the difference between Cause column: stylesheet vs JS stylesheet?
UPDATE:
Here some explanation. Seems like my css is actually included twice if js request for it too?
developer.mozilla.org/en-US/docs/Tools/Network_Monitor#Cause_column
UPDATE:
Now there's even more - 4x same css.
More posts by @Megan663
1 Comments
Sorted by latest first Latest Oldest Best
Yes, it appears as though you may be linked to the CSS through a page that is also linked to another file (JS?) that is also linked to that same CSS. I can't be certain, but that's what it looks like. My guess is that if you comment out the CSS linkage in the JS file, your site will operate the same as before, but without loading the CSS more than once. Where that may fall apart is if you have the JS file being used, elsewhere...where the CSS hasn't yet been called.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.