delon-cache-caching-strategies
Implement Angular Caching with @delon/cache
Angular apps often repeat API requests and recompute data without a cache plan. This skill guides memory, session, LocalStorage, and HTTP caching with @delon/cache.
Install with my Agent
Copy this request to your Agent. It includes the canonical Skill page and manifest.
Review the Skillstore skill "delon-cache-caching-strategies" from https://skillstore.io/skills/7spade-delon-cache-caching-strategies.md and its manifest at https://skillstore.io/api/skills/7spade-delon-cache-caching-strategies/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.Your Agent should still show its plan and request any confirmation required by the security policy.
Agent-readable resources
Use these links when an AI agent, crawler, or script needs clean context instead of reading the full page.
Test it
Using "delon-cache-caching-strategies". A task list service repeatedly loads the same data for one page.
Expected outcome:
- A memory cache is recommended for short-lived task data.
- The cache key should include the task list scope.
- The entry should expire after five minutes.
- Create and update operations should remove related list keys.
Using "delon-cache-caching-strategies". A user preferences service needs values to survive page reloads.
Expected outcome:
- LocalStorage is appropriate for non-sensitive preferences.
- A longer TTL can be used for display settings.
- The design should exclude tokens, secrets, and private records.
Using "delon-cache-caching-strategies". An Angular app wants to cache GET responses globally.
Expected outcome:
- Only cache safe, idempotent responses.
- Skip realtime, authenticated, and user-specific endpoints unless keys include identity context.
- Provide a header or route rule to bypass cache when needed.
Security Audit
Medium RiskAll static command-execution, reconnaissance, and direct network findings were adjudicated as false positives caused by Markdown, TypeScript examples, or documentation links. No prompt injection, malicious execution, or data exfiltration intent was found. Semantic review found one medium cache isolation risk in the HTTP interceptor guidance.
Confirmed security concerns (1)
Risk Factors
โ๏ธ External commands (40)
๐ Network access (5)
Share & cite this report
Share the versioned assessment report, neutral badge, embed card, and citations. Skillstore reports evidence without deciding whether this Skill is safe.
Copy report link
https://skillstore.io/skills/7spade-delon-cache-caching-strategies/audits/6?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown badge
[](https://skillstore.io/skills/7spade-delon-cache-caching-strategies?utm_source=security_passport_badge)HTML badge
<a href="https://skillstore.io/skills/7spade-delon-cache-caching-strategies?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/7spade-delon-cache-caching-strategies/security.svg" alt="Skillstore security assessment" loading="lazy"></a>Embed card
<iframe src="https://skillstore.io/embed/skills/7spade-delon-cache-caching-strategies.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>Academic citations (APA ยท BibTeX ยท CFF)
APA citation
7Spade. (2026). delon-cache-caching-strategies security audit report (audit version 6) [Author version unspecified]. Skillstore. https://skillstore.io/skills/7spade-delon-cache-caching-strategies/audits/6BibTeX citation
@techreport{7spade-7spade-delon-cache-caching-strategies-2026,
author = {7Spade},
title = {delon-cache-caching-strategies security audit report (audit version 6)},
institution = {Skillstore},
year = {2026},
number = {6},
url = {https://skillstore.io/skills/7spade-delon-cache-caching-strategies/audits/6},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "delon-cache-caching-strategies security audit report (audit version 6)"
version: "unspecified"
type: report
authors:
- name: "7Spade"
date-released: "2026-07-04"
url: "https://skillstore.io/skills/7spade-delon-cache-caching-strategies/audits/6"
identifiers:
- type: other
value: "skillstore:7spade-delon-cache-caching-strategies:audit:6"
description: "Skillstore immutable audit report identifier"
Skillstore Score
Why this score Evidence Confidence: HighWhat You Can Build
Add client-side cache wrappers
Create an Angular service that wraps @delon/cache with consistent keys, TTLs, and storage choices.
Reduce repeated API requests
Apply memory caching or HTTP interception to frequently requested data with short expiration windows.
Standardize cache invalidation
Document when cache entries must be removed after create, update, or grouped data changes.
Try These Prompts
Add a memory cache to this Angular service using @delon/cache. Use a five minute TTL and keep invalidation simple.
Review this Angular preference service and choose memory, LocalStorage, or SessionStorage. Explain the TTL and sensitive data risks.
Design a cache invalidation plan for these create and update flows. Include keys, groups, TTLs, and missed invalidation risks.
Audit this Angular HTTP cache interceptor. Identify stale data, authentication, tenant isolation, and cache bypass requirements.
Best Practices
- Use memory cache for short-lived API data unless persistence is required.
- Set TTL values based on data volatility and user impact.
- Invalidate related keys after writes, not only the item key.
Avoid
- Do not store auth tokens, secrets, or sensitive personal data in browser storage.
- Do not cache responses that include user-specific data under shared keys.
- Do not omit invalidation for data that users can edit.