Rules Hub
Coding Rules Library
← Back to all rules
Rule priority, scope & exceptions
Use this to align rules with the senior-level structure (P0/P1/P2, scope, exceptions/tradeoffs).
frontend ruleP2universalStack: universal
cachingassetsbuildperformance
Version static assets to enable cache busting
Reference static assets through a versioned/hashed path so updates don't get served stale from caches and don't require manual work after each change.
PR: frontpage-web · org-mining-hist-2026-06Created: Jun 18, 2026
Bad example
Old codejson
| 1 | { "logo": "/img/logo.svg" } |
Explanation (EN)
Objašnjenje (HR)
Good example
New codejson
| 1 | { "logo": "/img/logo.8f3a2c.svg" } |
Explanation (EN)
Objašnjenje (HR)