Posted on

Using dynamic version parameter in wp_enqueue_style to prevent caching assets

As browser caching mechanisms are becoming more and more aggressive, it could be very handy – when in development stage – to dynamically purge assets cache using the “version” argument when enqueuing scripts and styles in WordPress.
Continue reading Using dynamic version parameter in wp_enqueue_style to prevent caching assets