U could try using this type function:
add_action( 'wp_print_scripts', 'my_deregister_javascript', 100 );
if ( !is_page('Events') ) {
wp_deregister_script( 'wpng-calendar' );
wp_deregister_script( 'date-js' );
wp_deregister_script( 'thickbox-js' );
wp_deregister_script( 'jquery-js' );
wp_deregister_script( 'wiky-js' );
}
}
Found it on this website
U’ll have to modify the nandlers to your needs, i found the W3TC handlers to be:
TotalCacheAdmin.php (8 hits)
Line 614: wp_enqueue_style('w3tc-options');
Line 615: wp_enqueue_style('w3tc-lightbox');
Line 624: wp_enqueue_script('w3tc-metadata');
Line 625: wp_enqueue_script('w3tc-options');
Line 626: wp_enqueue_script('w3tc-lightbox');
Line 633: wp_enqueue_script('jquery-ui-sortable');
Line 637: wp_enqueue_script('jquery-ui-dialog');
Line 642: wp_enqueue_script('w3tc-options');
Related Posts:
- Disable WordPress cache programmatically on a request [closed]
- Exclude certain block from caching using Fragment Caching – doesn’t work [closed]
- How to exclude a specific template from being cached by a CDN [closed]
- How can I use fragment caching to exclude certain plugins from being cached?
- Transient API and caching Plugins
- How to handle is_user_logged_in() with w3 total cache [closed]
- WordPress Leverage browser caching Show how to fix & Eliminate render-blocking JavaScript and CSS in above-the-fold content Show how to fix
- Enabling Cache on WP Membership Sites. Good OR Bad?
- Pre-Caching and Googlebot
- W3 Total Cache benefits without using plugin? [closed]
- W3 total cache – cache refresh programmatically [closed]
- Is this Solution for Caches vs Cookies Going to Get Me in Trouble?
- Best way to show Dynamic Content on a Cached WordPress Site?
- Pros and Cons for high “expire time” on wp-super-cache or w3-total-cache? [closed]
- Limit cache size from W3 Total Cache [closed]
- Difference between w3total cache disk enhanced and disk basic [closed]
- W3 Leverage browser caching not working for google pagespeed [closed]
- Clear cache when a post is submitted [closed]
- Is W3 Total Cache still useful with CloudFlare? [closed]
- w3 total cache minification breaks wp_localize_script() [closed]
- Should I use Transients with W3 Total Cache APC Caching? [closed]
- Is it possible to disable caching of an option when using w3 total cache?
- Page cache for categories not updating with W3 Total Cache [closed]
- Exclude content from w3 total cache [closed]
- Need to create a function that will run regardless of W3TC PageCache for every page request [closed]
- AJAX vs Fragment Caching for W3 Total Cache [closed]
- How can you develop on a live WordPress installation that is using W3 Total Cache? [closed]
- W3 Total Cache active but not working [closed]
- W3 Total Cache Minify Rewrite Error with WordPress on nginx [closed]
- How to cache custom pages using W3 Total Cache? [closed]
- Showing as logged in after logout (W3 Total Cache issue) [closed]
- WP-e-Commerce and W3-Total-Cache integration problem [closed]
- W3 Total Cache doesn’t detect memcached [closed]
- How to force content refresh of a page that has been loaded previously by the user? [closed]
- Trouble with WordPress local development and deployments
- Can I ignore caching of a plugin in W3 Total Cache? [closed]
- Transient / object cache maximum key length [duplicate]
- Is the W3 Total Cache plugin a good choice for WordPress MultiSite? [closed]
- How do I get W3 Total Cache not to cache sidebars? [closed]
- What is difference between ‘Page Cache’ and ‘Object Cache’ in WordPress?
- Using Multisite with a CDN?
- Getting soft 404 errors (200 status) when caching plugins are enabled
- How can I get W3 Total Cache to recognise Amazon ElastiCache? [closed]
- Plugin Expires Headers – W3 Total Cache [closed]
- w3 Total Cache expire headers not set [closed]
- Will cron job run if page loaded is being served from cache?
- W3 Total Cache: Load CSS asynchronously for better PageSpeed score? [closed]
- server load. $_SERVER[‘REMOTE_ADDR’] and $_SERVER[‘HTTP_HOST’] [closed]
- WordPress with php 5.5 and zend opcache
- W3 Total Cache – Converting Apache rewrites to Nginx [closed]
- Where is New Relic API key? [closed]
- Make WordPress cache permanent for some pages until edited
- With W3 Total Cache when I publish a post it does not appear in the homepage. Only if i purge all cache [closed]
- How to cache a different page version based on HTTP header?
- Losing preview ability: W3 Total Cache + Post name permalinks
- Running code before object-cache.php runs
- W3 Total Cache: use cache for request with ignorable query string [closed]
- Google PageSpeed Enable Compression isn’t working?
- w3 Total Cache not Caching – Requested URI is rejected [closed]
- Theme compression/ minifying or W3 Total Cache – which should I use? [closed]
- W3 Total Cache can’t create files [closed]
- Cache plugins and ajax nonce verification
- Getting “Internal Server Error” when enabling ‘Set expires header’ in W3 Total Cache [closed]
- Combile External JS files using W3 Total Cache [closed]
- Object Caching Plugin force every plugin to cache objects?
- How can I cache font files on WordPress [closed]
- W3 total – leverage browser caching not working with cdn delivered images [closed]
- HIgh CPU usage – Will using cache plugins help
- How we stop caching of particular div when i am using w3 total cache plugin? [closed]
- Scheduling doesn’t work due to caching?
- APC fragmention woes on Apache AWS EC2 Small instance with WordPress and W3TC [closed]
- Split Testing with W3 Cache Enabled? [closed]
- w3 total cache – Object Caching 2165/2469 objects? [closed]
- W3 Total Cache Help – How to update DNS Zone for a static domain [closed]
- W3TotalCache and Javascript — what should go where, when?
- W3 Total Cache Minify + cforms II = POST /wp-content/plugins/cforms/lib_ajax.php 500 (Internal Server Error) [closed]
- Memory consumption in w3-total-cache vs wp-super-cache? [closed]
- What archive plugin works with W3 total cache? [closed]
- Changing WP Object Caching during runtime
- Memcaching recurring SQL Queries
- W3 Total Cache Error: some files appear to be missing or out of place. Please re-install plugin or remove
- Browser detection booleans mess. Caché plugin?
- Unable leverage Browser Caching on AWS Bitnami stack (Apache) through W3TC and Cloudfront CDN
- WordPress varnish pages printed twice
- How to disable cache for the content returned by a shortcode
- WordPress Userroles button getting cached
- custom php file inside my custom folder of plugins directory is not caching
- RegExp to EXCLUDE strip HTML (FOR SOMME) comments
- How to identify which javascript is being executed
- When using W3 Total Cache should I remove my enqueues from functions.php [closed]
- WordPress cache login issue (w3 total cache) [closed]
- Manually cache a special, non-WP-but-using-WP page (e.g. Ajax results) with W3TC
- Splash pages on a high traffic site
- W3 Total Cache Minification – Any way to not use php? [closed]
- Bluehost WebHost and performance problems with W3TC [closed]
- Pagination in WP query with transient API
- W3 Total Cache Minification: way to revert back? [closed]
- WP Super Cache versus W3 Total Cache [closed]
- To what degree can use of caching-plugins and a CDN boost WordPress performance? [closed]
- I am facing problem in loading and downloading Mp3 files