nedved
Joined 14 years ago
Joined 14 years ago
2 - You're correct about #2 - Caching as much data that does not change in the browser (such as images, common requests etc) will often improve the user experience -- especially when on a poor connection such as a 3G mobile phone.
3 - CORS is defined by the w3dt.net servers .. the main w3dt.net site does not allow "cross-origin" sharing to my knowledge but sub domains such as "results.w3dt.net" do allow CORS so that users may embed results into other websites. -- Read here for more info: http://en.wikipedia.org/wiki/Cross-origin_resource_sharing
Have a great day :)
The site uses html5 to pre-render pages to improve the user experience / site performance... Part of this includes storing the query parameters you make (when running a query) in the new HTML5 web-storage.
This allows the webpage to be rendered before the user actually clicks the "submit" button on any of the tools (Making the site load faster it would normally). The query you specify is then pulled out of the HTML5 web-storage (when the pre-rendered page is made visible) and sent to the backend API servers.
Hope this clears this up for you :)