I don’t much about keep-alives but it seems that they are working for images - it’s just the .php file itself ?
I’m running IIS 5.0 w/PHP 5.2.5 & the IIS ISAPI module. Try as I might I can’t seem to find any info on how to enable keep-alives with PHP on IIS 5.0 - does anyone know?
I thought it would be a matter of changing a setting on the web server but it looks like it requires a programmatic approach - that makes it a bit beyond my reach :s
I wonder if it’s even causing much of a performance hit - I believe keep-alives are working for everything else but php.
It’s Windows 2000 / IIS 5.0 and keep-alives are enabled on the server and on the specific website.
Maybe I’m chasing a ghost (I don’t really know what I’m doing) because this is what the requests look like which would seem (to me) to indicate that keep-alives are enabled?
Request 1:
URL: Askmarvin Technology News -
Host: www.askmarvin.ca
IP: 70.66.128.238
Location: Parksville, Canada*
Error/Status Code: 200
Start Offset: 0 s
DNS Lookup: 159 ms
Initial Connection: 75 ms
Time to First Byte: 150 ms
Content Download: 215 ms
Bytes In (downloaded): 7.2 KB
Bytes Out (uploaded): 0.5 KB
HTTP/1.1 200 OK
Connection: close
Transfer-Encoding: chunked
Date: Thu, 15 Jul 2010 18:30:36 GMT
Content-type: text/html
X-Powered-By: ASP.NET
X-Powered-By: PHP/5.2.5
Set-Cookie: session_id=f8e1eeda8d6fdea15e256c35eec13352; path=/forums/; domain=.askmarvin.ca
Content-Encoding: gzip
Vary: Accept-Encoding
Request 2:
URL: Askmarvin Technology News -
Host: www.askmarvin.ca
IP: 70.66.128.238
Location: Parksville, Canada*
Error/Status Code: 200
Start Offset: 0.545 s
Initial Connection: 65 ms
Time to First Byte: 96 ms
Content Download: 0 ms
Bytes In (downloaded): 1.4 KB
Bytes Out (uploaded): 0.5 KB
I think you’re on the right track - I found this on the Internet and, while you probably already know it it, I posted it for my own (and future) reference. It’s probably going to be handy for other IIS users who encounter this.
[quote]"What’s causing IIS to send Connection:Closed in the HTTP headers even though the browser requests Connection:Keep-Alive?
A bit of history will get you to the answer. HTTP isn’t a static protocol standard, and new features are added all the time. The original protocol was designed to be stateless, and IIS closed the client’s TCP connection at the end of every transmission. Contrary to popular belief, HTTP 1.0 could keep a TCP connection open but in every exchange, both the client and the server had to request that the session stay open. In HTTP 1.1, Keep-Alive connections are the standard, so the connection remains open unless explicitly closed. If you’ve looked at the packets from HTTP sessions recently, you’ve probably noticed that the Keep-Alive headers are, in effect, no longer necessary.
For successful Keep-Alive implementation, the client and server must negotiate a way to communicate how much information is being transferred. Internet Engineering Task Force (IETF) Request for Comments (RFC) 2616 (http://www.w3.org/pro tocols/rfc2616/rfc2616-sec8.html #sec8) requires this negotiation for a persistent HTTP session. Section 8.1.2.1 states that
In order to remain persistent, all messages on the connection MUST have a self-defined message length (i.e., one not defined by closure of the connection), as described in section 4.4.
In HTTP 1.1 and HTTP 1.0, this persistent session is achieved through the Content-Length HTTP header. Using the Content-Length header, the server can inform the browser exactly how much information the body of the transmission contains. However, what if you’re running a Web application and the server doesn’t know exactly how much information it’s sending to the client? To permit a Keep-Alive connection in this scenario, HTTP 1.1 included a chunked transfer encoding feature. (For more information about chunked transfer encoding, see Section 3.6 of IETF RFC 2068 at http://www.w3.org/ protocols/rfc2068/ rfc2068.) Using this method, IIS breaks up a transmission into a larger transmission in discreet chunks, each chunk with a unique Content-Length header.
An interesting aspect of chunked encoding is that the client can also use this technique to send information to the server. In IIS 4.0, such a request causes IIS to allocate memory for the expected upload. In fact, if the client sends repeated requests to IIS 4.0 for such a transfer but never sends the information, the requests can effectively shut IIS 4.0 down while the session that’s making the requests is alive. For information about this special malformed header attack, see the Microsoft article “Chunked Encoding Request with No Data Causes IIS Memory Leak” (http://support.microsoft.com/support/kb/articles/q252/6/93.asp). To download the fix for this bug, go to http://download.microsoft.com/download/iis40/patch/4.2.739.1/ nt4/en-us/chkenc4i.exe. (No Windows NT service packs include this fix.)
So, to answer the question, you know that to support Keep-Alive headers, IIS must send the content length. Thus, you must look at the various methods that IIS can use to deliver content and how those methods relate to using Keep-Alive headers.
IIS can send static content or dynamic content by using Active Server Pages (ASP), Internet Server API (ISAPI), or CGI files. IIS can easily keep a static content session alive because the file length is known and fixed. (it seems to be doing this now with the image files)
A scripting engine such as ASP uses Keep-Alive headers by calculating the length of the content and sending the known content length to the server. The server then uses chunked encoding, if necessary. ASP can use Keep-Alive headers only if you’ve enabled buffering (the default in IIS 5.0) and you don’t flush the buffer. (For more information about ASP and Keep-Alive headers, see the Microsoft article “HTTP Keep-Alive Header Sent Whenever ASP Buffering is Enabled,” http://support.microsoft.com/sup port/kb/articles/q238/2/10.asp.)
IIS ISAPI applications can also use Keep-Alive technology, including chunked transfer encoding. (For more information about ISAPI and Keep-Alive headers, see the Microsoft article “Chunked Transfer Encoding,” http://msdn.microsoft.com/library/default.asp?url=/library/en-us/iisref/html/ psdk/asp/devs1pev.asp.) However, you must specifically develop the application to employ these techniques; otherwise, IIS must close the connection after a transfer.
CGI applications in IIS 5.0 and IIS 4.0 can’t use the Keep-Alive features of HTTP 1.1, no matter what the applications do. For this reason, you’ll see that IIS sends the Connection:Closed HTTP header even though the browser indicates that it wants a Keep-Alive connection and you’ve enabled Keep-Alive headers in IIS."[/quote]
Send Chunked Data in ISAPI Programming
In Internet Server Application Programming Interface (ISAPI) programming, if you want to send chunked data, add a “Transfer-Encoding: chunked” header, and then send the correctly formatted chunked stream by using InternetWriteFile:
Yes that is why I suggested that piece of code that I found.
It looks like your do_headers() is some sort of global function that you might be able to add the content length easily.
However, I am not an advanced or even intermediate PHP programmer so my code might be a bit off. I just found it through Google.
If nobody here knows the answer, you might find a PHP forum through Google and ask on there how to set a PHP header for content-length and see if that influences the results on webpagetest any. I think it should if the content length is set correctly.
There are some potential mistakes that you do when your new internet business started. At the beginning of the process, the mistakes can make your online business step obstructed.
What is it? See 4 Mistakes while starting the internet business.
The first: spend all the funds for the ads in one place.
This can happen on the newbie. Perhaps because the spirit of the internet business started, and all funds for the ads is only spent to advertise in one place. With the expectation that the size of the ad, the ad can get great success. This is very dangerous.
Solution: broken funds for the ads you into some parts.
Testing and measuring the results. If successful, continue to try to increase big ad.
But if not, you can try to move to other ad providers. Thus you can measure and compare the level of effectiveness of other ads. If there is a new ad service, do not be ashamed to try.
The Second: Does not want to buy products of learning in the internet.
does not want to buy products of learning in the internet, either the ebook or video training or membership training.
Solution: Buy it.
Why should buy? Simple, reason is to shorten your study time. That’s it. As you all know that many internet marketing products is a summary of the various forms of knowledge from teachers online business. You can see many products of learning in programselection.com/online-business-collection.html
the third: give up after trying only once
Many people give up quickly because the results have not appeared. Suppose a new post the article once, then immediately want a blog make money. follow-up once, then never do it again. Hopefully this never happens to you.
Solution: try again, again, again and again.
Never give up! continue to post consistent.
the fourth: does not follow up the prospects.
Prospect is a potential user’s product or service. No follow up or make a bid as well as doing something, but half way. Maybe they forget or are busy, so you need to remind them through the follow up.
Solution: do follow up. And not just once.
When you need up to 10 times. If not successful, provide the product or offer other services that may be needed by the prospect. Therefore, some products have become their own advantage. When the prospect has not be paired with one product, may be paired with other products.
How do you think?
have a list of mistakes that beginners usually do in the beginning of the internet business?
There are some potential mistakes that you do when your new internet business started. At the beginning of the process, the mistakes can make your online business step obstructed.
What is it? See 4 Mistakes while starting the internet business.
The first: spend all the funds for the ads in one place.
This can happen on the newbie. Perhaps because the spirit of the internet business started, and all funds for the ads is only spent to advertise in one place. With the expectation that the size of the ad, the ad can get great success. This is very dangerous.
Solution: broken funds for the ads you into some parts.
Testing and measuring the results. If successful, continue to try to increase big ad.
But if not, you can try to move to other ad providers. Thus you can measure and compare the level of effectiveness of other ads. If there is a new ad service, do not be ashamed to try.
The Second: Does not want to buy products of learning in the internet.
does not want to buy products of learning in the internet, either the ebook or video training or membership training.
Solution: Buy it.
Why should buy? Simple, reason is to shorten your study time. That’s it. As you all know that many internet marketing products is a summary of the various forms of knowledge from teachers online business. You can see many products of learning in programselection.com/online-business-collection.html
the third: give up after trying only once
Many people give up quickly because the results have not appeared. Suppose a new post the article once, then immediately want a blog make money. follow-up once, then never do it again. Hopefully this never happens to you.
Solution: try again, again, again and again.
Never give up! continue to post consistent.
the fourth: does not follow up the prospects.
Prospect is a potential user’s product or service. No follow up or make a bid as well as doing something, but half way. Maybe they forget or are busy, so you need to remind them through the follow up.
Solution: do follow up. And not just once.
When you need up to 10 times. If not successful, provide the product or offer other services that may be needed by the prospect. Therefore, some products have become their own advantage. When the prospect has not be paired with one product, may be paired with other products.
How do you think?
have a list of mistakes that beginners usually do in the beginning of the internet business?
Женская одежда торговой марки «NIKA» появилась на белорусском рынке в 2001 году. За короткие сроки наше предприятие стало одним из ведущих белорусских производителей качественных швейных изделий, известных в России и странах СНГ под брендом «Белорусский трикотаж».
Наши художники-модельеры и дизайнеры при создании новых коллекций придерживаются последних тенденций моды. Они регулярно посещают специализированные выставки в Москве, Париже, Китае, Франции, Италии, Турции и др. странах. Ответственный и дружный коллектив профессионалов в короткие сроки воплощает лучшие идеи творческой лаборатории. Результатом этого труда является модная, качественная, практичная одежда.
Костюмы торговой марки «NIKA» дают уверенность в себе, стремление к совершенству, настраивают женщин на победу. Ведь не даром мы носим имя древнегреческой крылатой богини победы НИКА.
Наша фирма оказывает услуги по изготовлению машинной вышивки, которая включает в себя:
многоцветную вышивку
вышивку пайетками
вышивку шнуром
вышивку лентой
Вышивка производится на высокопроизводительных вышивальных машинах японской фирмы Tajima.
по Вашему эскизу с разработкой программы нашими специалистами;
с разработкой эскиза и программы нашими специалистами.
Индивидуальный подход к каждому клиенту.
Наша фирма выполняет работы по пошиву швейных изделий из давальческого сырья.
Заказчик предоставляет для переработки на давальческих условиях сырье и материалы (полуфабрикат кроя), необходимые для изготовления швейных изделий и необходимую для производства технологическую документацию.
Качество выполненной работы соответствует ГОСТ 25294-03 «Одежда верхняя платьево-блузочного ассортимента» и ГОСТ 25295-03 «Одежда верхняя пальтово-костюмного ассортимента».
Сроки выполнения работ, количество и стоимость каждой партии швейных изделий согласовывается с заказчиком индивидуально.
Женская одежда торговой марки «NIKA» появилась на белорусском рынке в 2001 году. За короткие сроки наше предприятие стало одним из ведущих белорусских производителей качественных швейных изделий, известных в России и странах СНГ под брендом «Белорусский трикотаж».
Наши художники-модельеры и дизайнеры при создании новых коллекций придерживаются последних тенденций моды. Они регулярно посещают специализированные выставки в Москве, Париже, Китае, Франции, Италии, Турции и др. странах. Ответственный и дружный коллектив профессионалов в короткие сроки воплощает лучшие идеи творческой лаборатории. Результатом этого труда является модная, качественная, практичная одежда.
Костюмы торговой марки «NIKA» дают уверенность в себе, стремление к совершенству, настраивают женщин на победу. Ведь не даром мы носим имя древнегреческой крылатой богини победы НИКА.
Наша фирма оказывает услуги по изготовлению машинной вышивки, которая включает в себя:
многоцветную вышивку
вышивку пайетками
вышивку шнуром
вышивку лентой
Вышивка производится на высокопроизводительных вышивальных машинах японской фирмы Tajima.
по Вашему эскизу с разработкой программы нашими специалистами;
с разработкой эскиза и программы нашими специалистами.
Индивидуальный подход к каждому клиенту.
Наша фирма выполняет работы по пошиву швейных изделий из давальческого сырья.
Заказчик предоставляет для переработки на давальческих условиях сырье и материалы (полуфабрикат кроя), необходимые для изготовления швейных изделий и необходимую для производства технологическую документацию.
Качество выполненной работы соответствует ГОСТ 25294-03 «Одежда верхняя платьево-блузочного ассортимента» и ГОСТ 25295-03 «Одежда верхняя пальтово-костюмного ассортимента».
Сроки выполнения работ, количество и стоимость каждой партии швейных изделий согласовывается с заказчиком индивидуально.
Женская одежда торговой марки «NIKA» появилась на белорусском рынке в 2001 году. За короткие сроки наше предприятие стало одним из ведущих белорусских производителей качественных швейных изделий, известных в России и странах СНГ под брендом «Белорусский трикотаж».
Наши художники-модельеры и дизайнеры при создании новых коллекций придерживаются последних тенденций моды. Они регулярно посещают специализированные выставки в Москве, Париже, Китае, Франции, Италии, Турции и др. странах. Ответственный и дружный коллектив профессионалов в короткие сроки воплощает лучшие идеи творческой лаборатории. Результатом этого труда является модная, качественная, практичная одежда.
Костюмы торговой марки «NIKA» дают уверенность в себе, стремление к совершенству, настраивают женщин на победу. Ведь не даром мы носим имя древнегреческой крылатой богини победы НИКА.
Наша фирма оказывает услуги по изготовлению машинной вышивки, которая включает в себя:
многоцветную вышивку
вышивку пайетками
вышивку шнуром
вышивку лентой
Вышивка производится на высокопроизводительных вышивальных машинах японской фирмы Tajima.
по Вашему эскизу с разработкой программы нашими специалистами;
с разработкой эскиза и программы нашими специалистами.
Индивидуальный подход к каждому клиенту.
Наша фирма выполняет работы по пошиву швейных изделий из давальческого сырья.
Заказчик предоставляет для переработки на давальческих условиях сырье и материалы (полуфабрикат кроя), необходимые для изготовления швейных изделий и необходимую для производства технологическую документацию.
Качество выполненной работы соответствует ГОСТ 25294-03 «Одежда верхняя платьево-блузочного ассортимента» и ГОСТ 25295-03 «Одежда верхняя пальтово-костюмного ассортимента».
Сроки выполнения работ, количество и стоимость каждой партии швейных изделий согласовывается с заказчиком индивидуально.
Hi dude! If you have intenerests, I can put hard link to your site on mine. www.webpagetest.org So where it to find? I have seen all… or free viagra sample , FZFH - 66052 Viagra works to achieve and maintain erections by enhancing the effect of nitric oxide and maintaining higher levels of cGMP.66. Modern Drug Discovery: From hypertension to angina to Viagra [26K] May 2006 …Chemical Society. soft viagra viagra substitute , CBQ vvi.ag.ra- in the uk [/url], purchase vvi.ag.ra- [/url] else [url=http://www.routan.org]low cost viagra ,
The cases describe (1) partial androgen deficiency syndrome, (2) testosterone deficiency in an anorchic man after bilateral orchiectomy for seminoma, and (3) a patient with sildenafil-refractory erectile dysfunction following treatment of localized prostate cancer with radiation therapy and androgen ablation.METHODS…bars in 10 US states was used to examine Viagra use in the 12 months preceding the interview…We investigated the top websites that sell Viagra before we wrote this page.It’s difficult to know what to look for in order to find legit Viagra websites.womens viagra , ZETW G’night
Hello, It have some specialities: www.webpagetest.org And I cannot find… Send the information! To whom is the link to the necessary? look this where to buy viagra , OGAP - 6012 For men, it actually begins when the brain sends impulses down the spinal cord and out to the nerves that serve the penis.Conjuctivitis, photophobia, eye haemorrhage, cataract, dry eyes and eye pain Urogenital: cases of priapism (prolonged erection) have been reported. viagra tablet order viagra air travel , PHN free vvi.ag.ra- sample [/url], herbal vvi.ag.ra- [/url] interesting: [url=http://www.routan.org]viagra for woman information ,
In the present report, we show by immunofluorescence microscopy, and Western blotting of plasma membrane fractions, that 45-min exposure of LLC-AQP2 cells to the cGMP phosphodiesterase type 5 (PDE5) inhibitors sildenafil citrate (Viagra) or 4-[3’,4’-methylene-dioxybenzyl]amino-6-methoxyquinazoline elevates intracellular cGMP levels and results in the plasma membrane accumulation of AQP2; i.e., they mimic the vasopressin effect.The etiology of erectile dysfunction may be broadly categorized as organic, psychogenic, or mixed.1: Eur Respir J. 2006 Nov 1; [Epub ahead of print] Links Addition of sildenafil to bosentan monotherapy in pulmonary arterial hypertension.herbal alternative viagra , QEFM Much respect!
These days, the amount of individuals nowadays learn about vegan uggs as well as as an outcome tend to be intrigued to purchase an authentic set. short classic uggs Australia Women’s Lynnea Clog
by means of the particular time-honored routine uggs boots for women with all the thus significant layout list girls shoes or boots, person men shoes or boots, which were almost certainly just about the most outfit. uggs clog boots Australia, creators of the wildly popular ugg outlet store are a true corporate success story.
The actual needing with regard to UGG traditional small kids uggs tasman can there be,