Using Ajax in the navigation of the entire site has a problem?

Asked

Viewed 288 times

-1

It’s because the site would have a Web Radio, and I don’t want you to update every page exchange, because that’s for playback. I wonder if it is a problem to make the pagination in Ajax?

And another: Ajax interferes in Adsense?

Thank you and good night to all.

  • Only synchronous requests stop page playback, in which case you meant JAX (Javascript and XML)?

1 answer

0

The question may be wrong on the first point: "I don’t want you to update every page exchange, because that for playback", the page keeps running if the HTTP request being made is asynchronous, and as the question says, "A.J.A.X" (Asynchronous Javascript and XML).

The problem is using AJAX HTTP requests to do chat simulations, games, etc., in which case you might need support on your server to use sockets (or Websockets). There are also techniques such as Long Polling to minimalize the use of your server because of HTTP requests.


So far, from what I know about some Adsense rules, if the page ads are removed, there could be some interference, but this would not be the cause of AJAX, perhaps by browsing that modifies the HTML page.

You can reserve what belongs to Adsense in containers, and avoid the re-generation/modification of these containers while AJAX navigation takes place.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.