vojtech-dobes / history.nette.ajax.js

Adds History API support to nette.ajax.js addon!
30 stars 27 forks source link

NS_ERROR_ILLEGAL_VALUE exception in Firefox for large datasets #24

Open Ciki opened 9 years ago

Ciki commented 9 years ago

storing all snippets in cache might cause the HTML5 pushstate cache to overrun Firefox's 640k character limit.

Might it be better to use localStorage or sessionStorage for this cache, as Mozilla's documentation suggests?

Similar issue here

lysergicfacet commented 9 years ago

I agree with @Ciki . Using localstorage by default and then falling back to the current method seems entirely reasonable.