D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] does this site crash

 

On 05/10/11 00:55, Simon Waters wrote:
> On 04/10/11 21:32, paul sutton wrote:
>> I am trying to figure out ifi ts just my browser the Paignton rugby club
>> website manages to crash
>>
>> www.paigntonrugby.co.uk
> iceweasel in Debian testing - browser consumed vast amounts of RAM
> before I killed it.
>
> So that'll be your issue, something is eating all the RAM. The crash is
> probably the machine has less RAM, or it has a rule that says "no more
> than X% of RAM per process".
>
> Killing Java and Javascript allowed it to load (very slowly).
>
> Google Page Speed says yes those banner graphics are huge and can be
> shrunk easily, so that is why it is slow to load even with javascript
> disabled.
>
> Oh and "id" attribute is suppose to be unique... this causes tidy to
> give several hundred warnings. If you need to apply something like CSS
> or Javascript to lots of elements what you want is a "class" attribute.
>
> http://www.w3schools.com/tags/att_standard_id.asp
>
> My guess for the intolerable behaviour with javascript is that the
> javascript looks "crappy", which is a technical term for I wouldn't
> write it that way.
>
> First shrink the images to the size they need, and the level of quality
> they need, and see if the problem goes away.
>
> Then fix your abuse of id, and see if the problem goes away.
>
> Then find a better script to scroll your banners ;)
>
> I've seen some scroller scripts which work horribly on Linux although
> that may just be because my boxes all have lousy graphics hardware, or
> they may be doing something that happens to work well on Windows.
>
>  Simon
>
> THanks

I am not the webmaster,  however i will try and pass on the comments, 
it just confirms that the site needs to be written properly,  or we need
to use somethingl like pitchero that is designed for sports clubs.

Paul



-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq