Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a page, and it takes a few seconds to load. I know, and I will make the site load faster (and not the question), but due to animations animating the site in, I am thinking of adding a page loading indicator.

This will be injected trough JavaScript and removed again by JavaScript, and removed trough JavaScript, making a non JavaScript page work as normal.

Is this a good or bad practice to add a page loader indicator on a standard HTML/CSS based site?

share|improve this question

It is a good practice when you certainly know that loading time is more then 1-1.5 seconds. So, according to this:

I know, and I will make the site load faster

it's up to you. Maybe it's good idea to add the indicator before you implement some performance changes. Anyway, a neat and nice looking/working indicator is a good way to show users you're carrying about them.

share|improve this answer

Of course it's better to trying to avoid JavaScript, but in this case, if your JavaScript isn't that big + it's useful, I don't see any harm in it.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.