Sujata Hulsurkar
Sujata Hulsurkar

Reputation: 115

Same CSS files are loaded multiple times first in the begining and then at the end?

I am attaching two images. First images is from the beginning:

This is second image towards the end of loading process:

enter image description here

As you can see same files are being loaded three times. First time in the beginning and then at the end. What can cause this issue?

I am using PHP like this:

<?php require_once("header.php")?>
All my HTML content
<?php require_once("footer.php")?>

But I am including link to CSS files only in header. It only happens with CSS files and not JavaScript files.

Upvotes: 2

Views: 224

Answers (2)

davcs86
davcs86

Reputation: 3935

It's generated by the prefixFree plugin.

enter image description here

enter image description here

Upvotes: 1

Ole Sauffaus
Ole Sauffaus

Reputation: 534

Check if any of your css-files contains a @import url("xxx.css");-statement.

That might be your problem, if css-files imports other css-files, and they import yet again.

Upvotes: 0

Related Questions