This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: Exclude from JS cache and optimization

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Exclude from JS cache and optimization Reply To: Exclude from JS cache and optimization

#42339
Ernest MarcinkoErnest Marcinko
Keymaster

Hi,

The javascript files are generated on the fly depending what search features are enabled on the given page, and if the file system supports it then they are cached and enqueued in a single file.

The file names are hashed, but if you can exclude directories too, then you can try excluding these:

/wp-content/cache/asp/
/wp-content/plugins/ajax-search-pro/js/

These are the only two sources where the javascript files for the plugin should be originated from. Excluding these directory matches should exclude them from optimization.