avoid
Functions
Function
Description
Example
Description
Usage Examples
Cache Busting
// Add unique query parameter to prevent caching
const url = '/api/users';
const uncachedUrl = dphelper.avoid.cache(url);
console.log(uncachedUrl); // "/api/users?t=abc123xyz"
// Useful for:
// - API calls that need fresh data
// - Dynamic content
// - Debugging (force reload)
dphelper.avoid.cache('/api/latest-data');Using with Fetch
Details
Last updated