Apparently, because my site uses cookies, a SetCookie header is sent with every page on my site...well I don't want that as Google PageSpeed sees that as a huge slowdown...so I either have to create a cookieless doamin to serve all of my content, or preferably, I'd like to suppress the SetCookie from being sent in the header of my index.htm...I don't use cookies on those pages anyway. I googled this, but can't find an answer...was hoping someone could help me here

Well then, why do you use PageSpeed? I actually never heard about that before and having had one minute a look at it, it doesn't really make sense to me. For the most simple way to find out how fast you code really is, use the function microtime() (http://de3.php.net/manual/en/function.microtime.php) after let's say 25 lines of code. That will give you a very good picture of each part of your code that is executed and helps you to concentrade on these parts that are slow.

If you still want to use Google, you could try to find the line in the header that is set by Google and then remove it manually. Have a look here for a list of all headers that a currently in the buffer to be sent: http://de3.php.net/manual/en/function.headers-list.php and here to remove it: http://de3.php.net/manual/en/function.header-remove.php . But this is in fact quite a nasty hack. Go and find out if that really works, but I would not be surprised if it actually doesn't.

Hope that helps.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.