Refresh buttons in Rey’s admin bar menu

You are here:
Estimated reading time: 1 min

These buttons inside Rey’s admin bar menu’s Refresh are meant for clearing or flushing various caches.

Refresh – Customizer Options CSS

When publishing in Customizer, the styles generated by the controls will get stored in a transient in order to perform the site loading better.

To refresh this css you can either access Customizer and hit the Publish button, or just click on this button

Refresh – Re-Combine Assets

Rey has an assets management system where component’s assets (CSS and JS) are split into tiny pieces and loaded only on demand.

If a Caching plugin is not enabled, Rey will merge all these assets into single compressed files.

This button will delete those files so that on the next page reload, they’re going to get regenerated.

Refresh – Cleanup Ajax Cache

This button deletes transients (cache entries) made by various Ajax requests (lazy loaded content, static data that’s usually the same for each visitor, etc.).

To prevent/disable the Ajax caching system from working, you can add this line define('REY_DISABLE_AJAX_CACHE', true); in wp-config.php file , however do know that important savings are made with these processes.

If you’re just annoyed by the fact that you save something and the cache has not flushed for some reason, try adding that line only when you’re developing the site, but remove it once you’re ready to launch.

Was this article helpful?
Dislike 0
Views: 356

Suggest article improvements

Please use this form to suggest improvements and report missing or outdated content. Support requests will most likely not be answered and it's best to use the Support Request Form instead. Thanks!