Search code examples
ruby-on-railsrubyajaxajax-on-rails

What are the disadvantages of AJAX on Rails?


what are the scenario's where Ajax could not be used in Rails Application. Is there any disadvantages of AJAX (AJAX on RAILS) if yes please mention which are they?


Solution

    • The browser may not be able to interpret javascript, but rails can detect that and you can act accordingly
    • The user cannot back/forward or bookmark a particular state within the page, because it is dynamically generated
    • Search engines cannot index particular states within the page

    There may be others that i can't think of right now.