I am currently working on a site that heavily uses AJAX. I have a page that when called renders the basic HTML and then uses AJAX to get the data that the pages needs and then renders the rest of the page. There is no user interactivity on the page.
I was of the belief that AJAX should only be used it there was going to be some user interactivity of some sort?
As the page that is being called knows exactly what data is required at the point of call that the complete page should be rendered. There is no form on this page, no user interactivity - as far as the user is concerned it's just a static page.
To put it in context - there is a search page that provides a list of results, and the user clicks on the result to get a details page related to that result. This is not a SPA - the detail page opens up in a new browser window/tab - and that will not change. The detail page has no interactivity.
I think that the detail page should be generated on the server with no use of AJAX. What would you advise in this situation?