Форуми / Cotonti / Core Labs / Archive / Cleanup of sed_htmlmetas function

Lombi
#1 05.08.2008 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 15.08.2008 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 15.08.2008 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
Pavlo Tkachenko aka Dayver