Articles on: Developers

Generate separate cache for mobile

Since most of the websites now uses a responsive layout, it's not necessary to generate separate cache for mobile.

However, if your theme or plugins or your custom code generates separate content for mobile/tablet devices by checking their user-agent, you can generate separate cache for mobile our filter.

add_filter('flying_press_cache_mobile', '__return_true');

Note: You've to save settings in FlyingPress to regenerate cache for mobile

Updated on: 06/12/2023

Was this article helpful?

Share your feedback


Thank you!