wiseman / mavelous

multi-platform ground station for drones that speak the MAVLink protocol
MIT License
167 stars 85 forks source link

Use local storage instead of cookies #37

Open wiseman opened 11 years ago

wiseman commented 11 years ago

pfdsettings.js currently stores the PFD settings in a cookie, but that means that the cookie contents get sent to the server on every ajax request, which is a lot of overhead. We should store all settings in HTML5 local storage instead, and we should use Backbone's storage sync mechanism.