This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Bookmarks and Firefox previous sessions all saved as jsonlz4 sometime now. How do I reverse this to js?

  • 1 reply
  • 8 have this problem
  • 3 views
  • Paskiausią atsakymą parašė cor-el

more options

I realised that my bookmarks and previous sessions are being saved as jsonlz4 as opposed to js that was the norm. Is that part of an update? Can it be changed back? When Firefox crashes I usually bring up the previous session by renaming it and copying it as sessionstore.js into the main firefox profile. Is that now possible? I think I read that jsonlz4 is the compressed version of the file. thanks.

I realised that my bookmarks and previous sessions are being saved as jsonlz4 as opposed to js that was the norm. Is that part of an update? Can it be changed back? When Firefox crashes I usually bring up the previous session by renaming it and copying it as sessionstore.js into the main firefox profile. Is that now possible? I think I read that jsonlz4 is the compressed version of the file. thanks.

All Replies (1)

more options

The change to LZ4 compressed .jsonlz4 files is to speed up writing and reading these files and keep the disk access as low as possible. You can't reverse this, but Firefox can still read uncompressed files creates by older Firefox versions. For the bookmarks only automatically created backups in the bookmarkbackups folder are compressed and a manually created JSON backup is not compressed.

You now need to copy a compressed sessionstore file to sessionstore.jsonlz4 in the main profile folder to restore this session instead of using sessionstore.js.

Firefox can still restore uncompressed sessionstore files, but to make this work you need to remove (rename) compressed files and rename the sessionstore-backups folder to ensure that Firefox can't fallback to compressed .jsonlz4 files.