Repository navigation
v0.3.9
What's Changed
Refactored
- Use stable identifier for cache key instead of fingerprint (#30)
- Added
getIdentifier()method toRouteLoaderInterface - Cache key is now based on stable identifier (md5 of paths/storage class)
- Fingerprint is used only for cache validation, not as key
- Prevents orphaned cache entries when source data changes
- Added
Files Changed
includes/Contracts/RouteLoaderInterface.php- AddedgetIdentifier()methodincludes/Routing/FileLoader.php- Implemented stable identifier using md5 of sorted pathsincludes/WordPress/WordPressLoader.php- Implemented stable identifier using md5 of storage classincludes/Routing/CachedRouteLoader.php- Use identifier for cache key, fingerprint for validation
Full Changelog: v0.3.8...v0.3.9