Title: Frontend script size
Last modified: December 15, 2022

---

# Frontend script size

 *  Resolved [andrzejjj](https://wordpress.org/support/users/andrzejjj/)
 * (@andrzejjj)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/frontend-script-size/)
 * Hi
    as much as I like PODS I just realized that using
 * echo $mypod->form();
 * loads about 7 mb of scripts to the page, I understand that pods-dfv.min.js might
   be neccessary, even though it’s wooping 1.4 mb!!! but load includes date.min.
   js or block-library.mij.js or tinemce.min.js, even though I only use two list
   fields.
 * Does anyone have experience with optimizing that bloat? I’d like to inlude only
   those libraries that are neccessary. I think using that in production might be
   really bad idea in the current state.
 * versions -> wordpress 6.1.1, newest Pods

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

 *  Plugin Support [pdclark](https://wordpress.org/support/users/pdclark/)
 * (@pdclark)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/frontend-script-size/#post-16294665)
 * Individual scripts you’re not using can be removed with [https://developer.wordpress.org/reference/functions/wp_dequeue_script/](https://developer.wordpress.org/reference/functions/wp_dequeue_script/)
 * Also see:
    - [https://wordpress.org/plugins/gonzales/](https://wordpress.org/plugins/gonzales/)
    - [https://wordpress.org/plugins/wp-asset-clean-up/](https://wordpress.org/plugins/wp-asset-clean-up/)
 *  Thread Starter [andrzejjj](https://wordpress.org/support/users/andrzejjj/)
 * (@andrzejjj)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/frontend-script-size/#post-16294685)
 * Thank you – I know you can remove everything you want, but I don’t think it’s
   a good practice to include every wordpress script in the first place. What if
   I remove something which actually should stay, or I upgrade and my selection 
   will be not acurate. That should be done one plugin’s level.
 *  Plugin Support [pdclark](https://wordpress.org/support/users/pdclark/)
 * (@pdclark)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/frontend-script-size/#post-16294963)
 * I’m sure [@sc0ttkclark](https://wordpress.org/support/users/sc0ttkclark/) can
   take it into consideration that Pods form could selectively enqueue scripts based
   on the fields displayed in a future release. [Patches welcome](https://github.com/pods-framework/pods/pulls).
 * In the meantime, you have resources to optimize. If that doesn’t work, there 
   is also the [Pods Gravity Forms Add-on](https://github.com/pods-framework/pods-gravity-forms).

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

The topic ‘Frontend script size’ is closed to new replies.

 * ![](https://ps.w.org/pods/assets/icon.svg?rev=3286397)
 * [Pods - Custom Content Types and Fields](https://wordpress.org/plugins/pods/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pods/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pods/)
 * [Active Topics](https://wordpress.org/support/plugin/pods/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pods/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pods/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [pdclark](https://wordpress.org/support/users/pdclark/)
 * Last activity: [3 years, 5 months ago](https://wordpress.org/support/topic/frontend-script-size/#post-16294963)
 * Status: resolved