What sets the 'auto_saved_sql' key and why? found in chrome devtools under local storage

Viewed 524

I was inspecting my web app in chrome and I found a key called 'auto_saved_sql' holding this query statement:

SELECT * FROM myTable WHERE........

I found it under console > Application > Local storage.

enter image description here

My app is still under development and its running on my local machine.

I want to know what sets this key and/or why does it exist?

1 Answers

It's because of your Localhost/phpmyadmin local storage cache, that's why you can see autoSaved.sql value under console > Application > Local storage.

You can test from your side, clear your browser cache and close all tab include phpmyadmin and again open your application console > Application > Local storage and look no more any autosaved_sql key value.

Reference. For PHPmyadmin reference image After execute SQL query in the PHPmyadmin then see console > Application > Local storage. you can see what query you execute will be added in the local storage. Localhost console > Application > Local storage reference image.

Related