Cotonti / Open Source PHP Content Management FrameworkContent Management Framework

Forums / Cotonti / Core Labs / Archive / Cleanup of sed_htmlmetas function

Lombi
#1 2008-08-05 16:26
If you wish to optimize your header a little bit better remove the following code from system/functions.php

<meta name=\"generator\" content=\"Seditio by Neocrome http://www.neocrome.net\" />
<meta http-equiv=\"expires\" content=\"Fri, Apr 01 1974 00:00:00 GMT\" />
<meta http-equiv=\"pragma\" content=\"no-cache\" />
<meta http-equiv=\"cache-control\" content=\"no-cache\" />
<meta http-equiv=\"last-modified\" content=\"".gmdate("D, d M Y H:i:s")." GMT\" />

I also propose this be completely removed from the cms.
<a href="http://www.domenlo.com">Surreal Art</a>
Orkan
#2 2008-08-15 17:04
Why?
I think we need "no-cache" otherwise you'll have to hit F5 on every page, no?
Perl - the only language that looks the same before and after RSA encryption.
Dayver
#3 2008-08-15 19:19
I think this is need to be removed

<meta name=\"generator\" content=\"Seditio by Neocrome http://www.neocrome.net\" />
<meta http-equiv=\"expires\" content=\"Fri, Apr 01 1974 00:00:00 GMT\" />
<meta http-equiv=\"last-modified\" content=\"".gmdate("D, d M Y H:i:s")." GMT\" />

And I think that the code must be moved from file functions.php to file header.php
Pavel Tkachenko aka Dayver. Гик и веб мастер который делает сайты, увлекается электроникой и очень любит смотреть кино.
О себе: Я злой и страшный серый волк, я в поросятах знааааюююю толк