Title: Optimize loading times
Last modified: May 18, 2022

---

# Optimize loading times

 *  [ktib](https://wordpress.org/support/users/ktib/)
 * (@ktib)
 * [4 years ago](https://wordpress.org/support/topic/optimize-loading-times/)
 * Hi,
 * I like your plugin very much, but there is something I need to modify on my WP
   install:
    I’d like the function to operate only when we click on a textarea/wysiwyg
   field, NOT on page load.
 * The reason:
    I created a fairly complex system based on ACF, with lots of fields,
   and since the plugin has to “scan” all the fields on load, it slows down the 
   loading time by about 1 second. This is not a complaint at all, it’s perfectly
   normal with the number of fields we have, but since we use the system all day
   long I really need to optimize the loading times, even if it implies losing a
   bit of functionality.
 * I tried to play around in the plugin code but couldn’t find the solution.
 * THANK YOU !
 * PS: If there is a specific filter/action that I can add to functions.php, better(
   as it would be update-proof)

The topic ‘Optimize loading times’ is closed to new replies.

 * ![](https://ps.w.org/acf-autosize/assets/icon.svg?rev=1896308)
 * [ACF Autosize](https://wordpress.org/plugins/acf-autosize/)
 * [Support Threads](https://wordpress.org/support/plugin/acf-autosize/)
 * [Active Topics](https://wordpress.org/support/plugin/acf-autosize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/acf-autosize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/acf-autosize/reviews/)

## Tags

 * [javascript](https://wordpress.org/support/topic-tag/javascript/)

 * 0 replies
 * 1 participant
 * Last reply from: [ktib](https://wordpress.org/support/users/ktib/)
 * Last activity: [4 years ago](https://wordpress.org/support/topic/optimize-loading-times/)
 * Status: not resolved