Title: Performance issues
Last modified: August 31, 2016

---

# Performance issues

 *  Resolved [conualfy](https://wordpress.org/support/users/conualfy/)
 * (@conualfy)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/performance-issues-18/)
 * I had a look at my pages code and over there I could see that cForms2 files (
   css and js) are loaded in all pages, even if there is no form in those pages.
   This should definitely be changed to only hook to those pages having a form. 
   It is a performance issue.
 * [https://wordpress.org/plugins/cforms2/](https://wordpress.org/plugins/cforms2/)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [bgermann](https://wordpress.org/support/users/bgermann/)
 * (@bgermann)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/performance-issues-18/#post-7251241)
 * There is an option for it in the global settings.
 *  Thread Starter [conualfy](https://wordpress.org/support/users/conualfy/)
 * (@conualfy)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/performance-issues-18/#post-7251246)
 * Excellent, thank you!
 *  Thread Starter [conualfy](https://wordpress.org/support/users/conualfy/)
 * (@conualfy)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/performance-issues-18/#post-7251314)
 * I found a bug: the main page (domain.tld) still loads scripts, even if I selected
   to only have it in 2 pages. Just checked and there I have:
 * `<link rel='stylesheet' id='cforms2-css' href='http://[domain.tld]/wp-content/
   plugins/cforms2/styling/cforms.css?ver=14.12' type='text/css' media='all' />`
 * `<script type='text/javascript' src='http://[domain.tld]/wp-content/plugins/cforms2/
   js/cforms.calendar.js?ver=14.12'></script>`
 * `<script type='text/javascript' src='http://[domain.tld]/wp-content/plugins/cforms2/
   js/cforms.js?ver=14.12'></script>`
 * Can you please also check this? Thanks.
 *  Plugin Author [bgermann](https://wordpress.org/support/users/bgermann/)
 * (@bgermann)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/performance-issues-18/#post-7251506)
 * I checked and cannot reproduce. If I set to only INCLUDE at some page IDs, I 
   do see any cforms CSS/JS loaded on the main page.
 *  Thread Starter [conualfy](https://wordpress.org/support/users/conualfy/)
 * (@conualfy)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/performance-issues-18/#post-7251507)
 * Have a look at my site, live, cache deleted a dozen of times so it can’t be because
   of the cache (WpSuperCache): [http://goo.gl/Dc86Ja](http://goo.gl/Dc86Ja)
 * Screenshot with the code: [http://imgur.com/AWZiWWx](http://imgur.com/AWZiWWx)
   
   Screenshot with the settings: [http://imgur.com/DXgrdrv](http://imgur.com/DXgrdrv)
 *  Plugin Author [bgermann](https://wordpress.org/support/users/bgermann/)
 * (@bgermann)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/performance-issues-18/#post-7251525)
 * Did you try removing the comma at the end of the include settings?
 *  Thread Starter [conualfy](https://wordpress.org/support/users/conualfy/)
 * (@conualfy)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/performance-issues-18/#post-7251527)
 * You are right, it was because of the comma. Anyways, you should fix this, should
   be quite easy. Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Performance issues’ is closed to new replies.

 * ![](https://ps.w.org/cforms2/assets/icon-128x128.png?rev=1010031)
 * [cformsII](https://wordpress.org/plugins/cforms2/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cforms2/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cforms2/)
 * [Active Topics](https://wordpress.org/support/plugin/cforms2/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cforms2/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cforms2/reviews/)

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [load](https://wordpress.org/support/topic-tag/load/)
 * [performance](https://wordpress.org/support/topic-tag/performance/)
 * [speed](https://wordpress.org/support/topic-tag/speed/)

 * 7 replies
 * 2 participants
 * Last reply from: [conualfy](https://wordpress.org/support/users/conualfy/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/performance-issues-18/#post-7251527)
 * Status: resolved