Opened 3 years ago

Closed 3 years ago

#6022 closed defect (bug) (fixed)

Translate PTE interface exceeds localstorage size

Reported by: dd32's profile dd32 Owned by:
Milestone: Priority: normal
Component: Translate Site & Plugins Keywords:


Uncaught DOMException: Failed to execute 'setItem' on 'Storage': Setting the value of 'projects' exceeded the quota.

Looks like that this might be related to why some PTEs can't see newly added projects in the listing.


I'm going to try using modern-browser builtin gzip compression to see if that'll reduce the json payload size (It's very repetitive..) to a size that is storable.

Change History (2)

#1 @dd32
3 years ago

In 11447:

Rosetta: PTE management: Compress projecting listing when adding to localStorage.

The JSON being cached is currently ~6.2MB, most browsers enforce an absolute maximum size of 5MB for localStorage.
This compresses the JSON down to ~1.6MB which should be small enough for quite some time.

See #6022.

#2 @dd32
3 years ago

  • Resolution set to fixed
  • Status changed from new to closed

That allows the projects to be cached locally, but doesn't seem to be related to the original complaint.

marking as resolved.

Note: See TracTickets for help on using tickets.