I included all files only once. I checked this three times. Here are some screenshots. I noticed that the request headers are different. How to solve this problem?


<?php require_once("cssheadertop.php");?>
<meta property="og:title" content="" />
<meta property="og:description" content="" />
<meta name="description" content="">
<link rel=stylesheet href='http://fonts.googleapis.com/css?family=Roboto+Slab'>
<style>.demo{text-align:center}</style>
<title>My title</title>
<?php require_once("cssheaderbottom.php")?>
This is cssheadertop.php
<?php require_once('../../templates/sitelink.php');?>
<link rel=stylesheet href=//maxcdn.bootstrapcdn.com/bootswatch/3.3.2/united/bootstrap.min.css>
<script src="https://code.jquery.com/jquery-2.0.0.min.js"></script>
<link rel=stylesheet href=../../rrssb.css />
<script src=../../rrssb.min.js></script>
<link rel=stylesheet href=../../style.css>
<link rel=stylesheet href='http://fonts.googleapis.com/css?family=Dosis:300|Orbitron:900'>
<script src=https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js></script>
<script src=../prism.js></script>
<link rel=stylesheet href=../prism.css />
<meta property=og:image content="">
UPDATE
sitelink.php just has PHP and cssheaderbottom.php just has navigation.
UPDATE 2
This is not only about bootstrap.min.css, but each css file is downloaded twice three times (you can see it in the images below).
source
share