Clearing the API Cache
At times, changing the metadata (removing old fields, creating new fields, changing a User profile) may lower the performance of the application or display errors due the API Cache referring to the old fields as they are unavailable. To avoid this from happening, you may need to clear the API Cache from time to time for better performance. You can clear the cache in two ways:
- Use the Clear API Cache button on the Storefront record
- Schedule a batch job
To clear API cache from the Storefront
To schedule a batch job to delete cache records
This scheduled job executes every 24 hours looking for any profile changes in the last 24 hours and deletes any APICache records associated to those profiles.