By using this site, you agree to our Privacy Policy and our Terms of Use. Close

Forums - Website Topics - Website optimizations

I found out what slow my browser down when scrolling:

In css-file http://vgchartz.com/includes/vg2.css on line 7 the property 'background-attachment' is set to 'fixed'

This is useless because:
a: the image gets repeated over the y-axis,
b:it's height is only 10px

Because of this fixed value, browsers have to calculate and re-render the layer every time you scroll ... and it's on every page, in the body element ...

So, please, could you guys just  leave the 'background-attachment' property out of it to make it a bit easier to scroll up and down ?

Thanx :)



Around the Network

i'm sure it's there for a reason, otherwise it wouldn't have been put there.




I'm sure there's no thing such as perfect code. Not to say that would be a mistake; I truly have no idea (too little experience).

Oh, it's true this site feels a bit clumsy when scrolling. Didn't notice on my better computer but on this slower one it's been pretty obvious. I think it's gotten a bit better lately, though.



Alexa says 98% of websites load faster than VGC.



"i'm sure it's there for a reason, otherwise it wouldn't have been put there."

Believe me, it's useless.
If you disable the property with firebug you won't notice any visual difference, but the scrolling improves. ( and improves very much on older machines )

 

"Alexa says 98% of websites load faster than VGC."

I believe that immediately,  when you analyze the pages there are many elements that can be improved ( for example gzip the server-response )



Around the Network

It's a completely custom site, including the forum software; you should PM ioi as he can and will fix code directly.



I noticed the property is removed, thanx for that :)



I had noticed a slight increase in scroll speed. Thanks for bringing it up, Willem, and thank you, ioi, for fixing it so quickly.



The rEVOLution is not being televised