I just found out about the possibility to have the server send compressed files, but I'm confused as to how I'm supposed to link a gzipped css file. I have a files name '4de42cb159110.min.css.gz' and I tried doing something like
But this obviously doesn't work. I realize I'm way off, but I can't find any tutorials that explain the right way to link the file.
if (substr_count($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip')) ob_start("ob_gzhandler"); else ob_start();
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="[B]scripts/css/4de42cb159110.min.css.gz[/B]" rel="stylesheet" />// compressed file here
<script src="scripts/js/jquery 1.52.js"></script>