Cov txheej txheem:
Video: Thaum twg kuv yuav tsum siv LocalStorage thiab sessionStorage?
2024 Tus sau: Lynn Donovan | [email protected]. Kawg hloov kho: 2023-12-15 23:47
Web cia khoom localStorage thiab sessionStorage tso cai rau khaws tus yuam sij / nqi hauv qhov browser. Ob qho tseem ceeb thiab tus nqi yuav tsum yog cov hlua. Qhov txwv yog 2mb +, nyob ntawm qhov browser. Lawv ua tsis tas sij hawm.
Cov ntsiab lus.
localStorage | sessionStorage |
---|---|
Survives browser rov pib dua | Survives nplooj ntawv refresh (tab sis tsis tab ze) |
Hauv qhov no, thaum twg kuv yuav tsum siv lub chaw khaws cia hauv zos thiab kev sib tham?
Session cia raug rhuav tshem thaum tus neeg siv kaw qhov browser whereas, Hauv zos cia khaws cov ntaub ntawv tsis muaj hnub tas sij hawm. Cov sessionStorage khoom yog sib npaug rau cov localStorage khoom, tshwj tsis yog tias nws khaws cov ntaub ntawv rau ib qho xwb kev sib tham . Cov ntaub ntawv raug tshem tawm thaum tus neeg siv kaw qhov browser qhov rai.
Tsis tas li ntawd, kuv puas yuav tsum siv lub sijhawm khaws cia? Nws yog ib txoj hauv kev zoo rau kev hla cov ntaub ntawv ntawm nplooj ntawv siv viewsstate, zais teb, lossis URL tsis muaj. Lub ntsiab yog vim li cas siv sessionStorage yog rau rooj plaub uas yog tias koj tus neeg siv yuav qhib tib nplooj ntawv ob zaug hauv ob lub tab sib txawv, koj xav tau cais khaws cia thaj chaw rau ob lub tabs.
Ib yam li ntawd, tib neeg nug, thaum twg koj yuav tsum tsis txhob siv localStorage?
Cov hauv qab no yog cov kev txwv thiab tseem muaj txoj hauv kev los TSIS siv localStorage:
- Tsis txhob khaws cov ntaub ntawv rhiab rau cov neeg siv khoom hauv localStorage.
- Nws tsis yog qhov hloov pauv rau tus neeg siv khoom raws li cov ntaub ntawv raws li cov ntaub ntawv tsuas yog khaws cia hauv browser.
- LocalStorage yog txwv rau 5MB thoob plaws txhua qhov browsers loj.
Qhov txawv ntawm ncuav qab zib sessionStorage thiab localStorage yog dab tsi?
ncuav qab zib feem ntau yog rau kev nyeem ntawv sab server (tseem tuaj yeem nyeem ntawm tus neeg siv khoom), localStorage thiab sessionStorage tsuas tuaj yeem nyeem ntawm tus neeg siv khoom. Qhov loj me yuav tsum tsawg dua 4 KB.
Pom zoo:
Thaum twg kuv yuav tsum siv NoSQL mus kom ze vs Rdbms?
Feem ntau, ib tus yuav tsum xav txog RDBMS yog tias ib tus muaj ntau kab kev lag luam thiab kev sib koom ua ke. Hauv NoSQL database zoo li MongoDB, piv txwv li, ib daim ntawv (aka complex object) tuaj yeem yog qhov sib npaug ntawm cov kab koom nrog ntau lub rooj, thiab qhov sib xws yog lav nyob rau hauv cov khoom ntawd
Thaum twg kuv yuav tsum siv hdf5?
Nws feem ntau yog siv rau hauv kev tshawb fawb daim ntawv thov (meteorology, astronomy, genomics thiab lwm yam) los faib thiab nkag mus rau cov ntaub ntawv loj heev yam tsis siv cov ntaub ntawv. Ib tus tuaj yeem siv HDF5 cov ntaub ntawv hom ntawv kom nrawm nrawm nrawm rau cov ntaub ntawv loj. HDF yog tsim los ntawm National Center for Supercomputing Applications
Isatap yog dab tsi thiab thaum twg nws yuav tsum tau siv?
ISATAP yog ib qho kev sib txuas uas cov tswv tuaj yeem siv kom dhau IPv6 tsheb hla IPv4 tes hauj lwm. Nws ua qhov no los ntawm kev coj tus ncej IPv6 thiab siv cov headers rau cov ncej nrog IPv4 cov ntaub ntawv network. 2) Lub xub ntiag ntawm qhov chaw nyob IPv4 qhia txog IPv4 cov ntaub ntawv uas yuav raug siv los thauj cov IPv6 hla IPv4 network
Thaum twg kuv yuav tsum siv huab huab?
Thaum siv cov huab huab pej xeem Cov huab pej xeem yog qhov tsim nyog tshaj plaws rau cov xwm txheej nrog cov kev xav tau no: Cov kev xav tau ntawm kev xav tau, xws li kev sib txuas lus rau ib tus neeg siv tshwj xeeb. Apps thiab cov kev pabcuam tsim nyog los ua IT thiab kev ua lag luam. Cov kev xav tau kev pab ntxiv los daws cov kev xav tau siab tshaj plaws
Thaum twg kuv yuav tsum siv IPsec thauj hom?
IPSec Thauj hom yog siv rau kev sib txuas lus kawg-rau-kawg, piv txwv li, rau kev sib txuas lus ntawm tus neeg siv khoom thiab cov neeg rau zaub mov lossis nruab nrab ntawm chaw ua haujlwm thiab lub rooj vag (yog tias lub rooj vag raug kho raws li tus tswv tsev). Ib qho piv txwv zoo yuav yog Telnet encrypted lossis Remote Desktop kev sib ntsib los ntawm chaw ua haujlwm mus rau lub server