What's better: to load the page and then make ajax call to get inventory or load the page with the inventory?
-
Using an AJAX call is faster and better for user experience; loading inventory with the page is better for SEO, but may reduce the speed. Any ideas or preferences?
-
Answer:
My personal choice: load the page with the inventory then enable ajax for loading more items and browsing the pages. I usually build the entire web application without using ajax and then enrich the user experience with ajax and javascript. This way my pages areĀ usable by the widest possible choice of browsers and tools (not only search engines, think about screen readers or indexing tools and users without javascript). For the user load time problem i would preferably try caching at least the first page or parts of it.
Diego Trinciarelli at Quora Visit the source
Related Q & A:
- What's better, a PC or MAC?Best solution by Yahoo! Answers
- What's better choice considering durability and safety: Suzuki alto or Chery QQ?Best solution by Yahoo! Answers
- What's better round trampoline or rectangular trampoline?Best solution by Yahoo! Answers
- What's better a Garrett turbo or a Green?Best solution by Yahoo! Answers
- What's better for the Desert?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.