Title: Optimization of scripts
Last modified: December 4, 2020

---

# Optimization of scripts

 *  [developerandmarketing](https://wordpress.org/support/users/developerandmarketing/)
 * (@developerandmarketing)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/optimization-of-scripts/)
 * Hello
    1) There is a JS file main.js which has a weight of 1.2 MB. Very much 
   slows down the loading of the site. 2) Is it possible to load plugin scripts 
   only where there is a comment form. The plugin slows down the site very much.

The topic ‘Optimization of scripts’ is closed to new replies.

 * ![](https://ps.w.org/anycomment/assets/icon.svg?rev=1898059)
 * [AnyComment](https://wordpress.org/plugins/anycomment/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/anycomment/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/anycomment/)
 * [Active Topics](https://wordpress.org/support/plugin/anycomment/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/anycomment/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/anycomment/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [developerandmarketing](https://wordpress.org/support/users/developerandmarketing/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/optimization-of-scripts/)
 * Status: not resolved