Forum Moderators: open
<link rel="stylesheet" type="text/css" href="global.php?template=global_css&ext=css" media="all" />
<script type="text/javascript" src="global.php?template=global_javascript&ext=js"></script>
Will browsers still cache the css and javascript code even though its not a file, its just echoing out from the database? Also, I change the mime-type before echoing it out, so its text/css or whatever it needs to be.
Thanks a lot for your help.
If you send an appropriate Cache-Control header using the same PHP code you used to set text/css you should be able to get things to cache.