mirror of
https://github.com/XiaoDaiGua-Ray/ray-template.git
synced 2026-11-17 16:13:36 +08:00
3.3 KiB
3.3 KiB
Utilities, caches, and data compatibility
Use this topic for basic utilities, precision, files, cache access, or legacy ciphertext. Confirm implementation ownership through the application entry-point guide first.
| Question | Read first | Follow through |
|---|---|---|
| Precision, objects, files, and basic utilities | Shared exports, shared utilities | Application compatibility entry point, utility API |
| Application cache keys, Storage backends, and documentation-example isolation | Application cache, cache backend, key prefix | Cache-key configuration, shared JSON storage, layout and state |
| Legacy synchronous AES ciphertext | Compatibility implementation, legacy import entry point | Ciphertext regressions |
| Vue lifecycle, DOM, and element utilities | Shared composables and utilities | Application hooks and UI, Vue utility regressions |
Preserve keys, storage types, and serialization formats that callers depend on. Callers supply the Storage implementation to shared storage. Check application persistence and documentation iframe in-memory caches separately. Design historical-data migration before replacing a synchronous AES format or API.
Targeted verification: pnpm harness verify utils. Select relevant regressions from cache tests, precision tests, or utility contracts.