| @@ -12,12 +12,23 @@ | ||
| 12 | 12 | |
| 13 | 13 | const SETTING_OPTION = 'powered_cache_settings'; |
| 14 | 14 | const PURGE_CACHE_CRON_NAME = 'powered_cache_delete_expired_cache'; |
| 15 | 15 | const PURGE_FO_CRON_NAME = 'powered_cache_delete_expired_min_files'; // file optimizer cron |
| 16 | +const DEFERRED_PRELOAD_QUEUE_CRON_NAME = 'powered_cache_deferred_preload_queue'; | |
| 16 | 17 | const POST_META_DISABLE_CACHE_KEY = 'powered_cache_disable_cache'; |
| 17 | 18 | const POST_META_DISABLE_LAZYLOAD_KEY = 'powered_cache_disable_lazyload'; |
| 18 | 19 | const POST_META_DISABLE_CRITICAL_CSS_KEY = 'powered_cache_disable_critical_css'; |
| 19 | 20 | const POST_META_SPECIFIC_CRITICAL_CSS_KEY = 'powered_cache_specific_critical_css'; |
| 21 | +const POST_META_DISABLE_UCSS_KEY = 'powered_cache_disable_ucss'; | |
| 22 | +const POST_META_SPECIFIC_UCSS_KEY = 'powered_cache_specific_ucss'; | |
| 20 | 23 | const POST_META_DISABLE_CSS_OPTIMIZATION = 'powered_cache_disable_css_optimization'; |
| 21 | 24 | const POST_META_DISABLE_JS_OPTIMIZATION = 'powered_cache_disable_js_optimization'; |
| 25 | +const POST_META_DISABLE_JS_DEFER = 'powered_cache_disable_js_defer'; | |
| 26 | +const POST_META_DISABLE_JS_DELAY = 'powered_cache_disable_js_delay'; | |
| 22 | 27 | const DB_VERSION_OPTION_NAME = 'powered_cache_db_version'; |
| 23 | 28 | const DB_CLEANUP_COUNT_CACHE_KEY = 'powered_cache_db_cleanup_counts'; |
| 29 | +const PURGE_CACHE_PLUGIN_NOTICE_TRANSIENT = 'powered_cache_purge_cache_plugin_notice'; | |
| 30 | + | |
| 31 | +const ALLOPTIONS_CRITICAL_THRESHOLD = 900000; // 900KB | |
| 32 | +const ALLOPTIONS_WARNING_THRESHOLD = 700000; // 700KB | |
| 33 | + | |
| 34 | +const UNMASK_CHARACTER_LENGTH = 3; | |