Skip to content

ClearPathCache() ​

ClearPathCache() → void

Clears the global path parsing cache for memory management.

Parameters: None
Returns: Nothing

Example
lua
-- Clear path cache during server maintenance
PlayerState.ClearPathCache()

-- Useful for debugging path-related issues

Note

Global cache management for path parsing with automatic size management (max 1000 entries)

PlayerState - High-Performance Roblox Data Management