How to use keep-alive, in nuxt or how to cache the information from the previous page

clipboard.png
I share two search options bars on all pages, but I want to save my last search record. How should I cache it?

Mar.23,2021

first of all, I'm sorry I haven't learned about nuxt.js

.

but seaconch still hopes to help you

I found this when I was inquiring about nuxt.js keep-alive . Do you think it works?

<template>
  <nuxt keep-alive/>
</template>

original

nuxt.js GitHub

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b2e94e-2bc31.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b2e94e-2bc31.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?