Hi Tim,
If you want to take some value into attribute and that value will be used in many places and you know that to take that value every time it will take time then you will go for a static variable. to reduce performance you will go for static variable.
Static variable values will be ther till you log off.
Regards,
Deepika.