javascript - Main page content populated on the fly? -


Is there no reason for a webpage to get the main content on the fly?

For example, I have a page that has a title and footer, and there is an empty device in the middle of this page, when you click on any one of the buttons given in the header An HTTP GET is done behind the scenes and the empty divisor. HTML () is replaced with the result.

I can not think of any reason because it can be a bad idea, but I think there is no page outside of it? please advise!

This is not unheard of, but there are problems.

  • Obviously some users have been javascript turned off for security reasons, and they will not be able to use your site at all.

  • It can also have negative effects on unusual users who are using assistive technology such as screen readers.

  • This can make your browsing the browser hard to cache its static content to slow down the browsing experience.

  • This can make the search engine harder to index your content.

  • The back and forward button may stop working until it takes a special step to do this work.

  • It is quite upset to debug problems though, if you use any device such as firebug, it is certainly not impossible.

I will not use it for static content (a plain web page), but it is definitely a reasonable perspective for content that is dynamically updated Too


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -