Geinmachi
Geinmachi

Reputation: 1251

"Storage" function slows down form submission in Firefox

Here is simple submit button which submits form:

<!DOCTYPE html>
<html>
  <head>
  </head>
  <body>
    <form action="action" method="POST">
      <button type="submit">Submit</button>
    </form>
  </body>
</html>

In Firefox 45 (updated from 43 where problem was also present) it takes a long time to submit a form. After inspecting in developer's tools what takes so long I found it's "Storage" function. Here are screenshots presenting the problem: Storage 1 Storage 2

This problem does not occur in other browsers, so the question is why does "Storage" function take almost 1 sec after form submission, making it look like long submitting (may it be because a lot of tabs are open) and how to fix it? Also why is it invoked? In Firefox Developer Edition this "Storage" function is not present.

Upvotes: 1

Views: 26

Answers (1)

Geinmachi
Geinmachi

Reputation: 1251

After using the profiler addon suggested by the8472 I found out it was because of Lazarus: Form Recovery addon which saves inputs from submitted forms. For interested there is a screenshot: Lazarus

After disabling this addon everything works fine, like in other browsers.

Upvotes: 1

Related Questions