Large html pages and slow load times/high CPU usage
Peter
plp-ysDPMY98cNQDDBjDh4tngg at public.gmane.org
Tue Jun 14 17:25:36 UTC 2005
On Tue, 14 Jun 2005, Madison Kelly wrote:
> Peter wrote:
>> Make sure your html file has perfect syntax (lint the page using a
>> validator) and add the header Connection: close to the server response
>> headers.
>>
>> Peter
>
> Hi,
>
> I've been meaning to check the validity but hadn't yet because I was still
> building the program. Now that I am in the testing phase I have no excuse and
> should do that asap. Is there any tools that you know of off hand that would
> be good to check dynamically generated pages (through perl) against? Or
> should I just save a copy of various pages and check those?
>
> May I ask, how would I add Connection: close to the server responce? Is
> this a web-server configuration option? I hope this isn't too simple a
> question ^_^;.
That depends on the server. If you make the headers yourself then simply
add that header. If the server makes them then you have to find out from
the server docmentation.
Peter
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list