Reputation: 115
I am attaching two images. First images is from the beginning:
This is second image towards the end of loading process:
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
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