It is currently Sun Jul 20, 2008 10:05 pm
Moderator: General Support Moderators




<?php
ob_start ("ob_gzhandler");
header("Content-type: text/css");
header("Cache-Control: must-revalidate");
$offset = 60 * 60 * 24 * 7 ;
$ExpStr = "Expires: " .
gmdate("D, d M Y H:i:s",
time() + $offset) . " GMT";
header($ExpStr);
?>
... rest of style sheet as normal here ...
<link rel="stylesheet" href="/templates/<name-of-template>/css/template_css.php" />




Hackwar wrote:
Take a look here and check for your websites performance:
www.websiteoptimization.com/services/analyze/
This page gives you a summary about your websites objects and has proposals how to improve it.

<?php
ob_start ("ob_gzhandler");
header("Content-type: text/css");
header("Cache-Control: must-revalidate");
$offset = 60 * 60 ;
$ExpStr = "Expires: " .
gmdate("D, d M Y H:i:s",
time() + $offset) . " GMT";
header($ExpStr);
?>
<?php include ('template_css.css'); ?><link rel="stylesheet" href="/templates/<name-of-template>/css/template_css.php" />
<link rel="stylesheet" href="/templates/<name-of-template>/css/template_css.php" />




lboccia wrote:Thank you for your reply. Unfortunately, I do not have a index.template.html file. I just have an index.php and the css file.










css? common now, everyone is grabbing onto a few 100k of file as a usual suspect beause it is 'easy'.

.2 of a second to .1 of a second









Mr. J. Public and his wife, who aren't nocturnal, when they visit your website?


Users browsing this forum: No registered users and 2 guests