Title: Performance issue
Last modified: May 17, 2022

---

# Performance issue

 *  Resolved [andreu](https://wordpress.org/support/users/andreu/)
 * (@andreu)
 * [3 years, 12 months ago](https://wordpress.org/support/topic/performance-issue-42/)
 * Hi,
 * We’re doing performance improvements in our website and we detected that your
   plugin is running php code when a user visits a product [https://snipboard.io/Bk7QAr.jpg](https://snipboard.io/Bk7QAr.jpg).
   Is that normal? Can we avoid that somehow?
 * Thanks in advance

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Ewout](https://wordpress.org/support/users/pomegranate/)
 * (@pomegranate)
 * [3 years, 12 months ago](https://wordpress.org/support/topic/performance-issue-42/#post-15652880)
 * Hi! That’s normal indeed – it’s the plugin loading itself. We couldn’t prevent
   that from happening because if it doesn’t load, it can’t determine whether or
   not to prevent itself from loading 🙂
    It’s not doing much at that point though,
   so 433.91ms is an aweful long time for just loading the plugin classes (then 
   again it seems this entire request took 7579.99ms, which is quite long to begin
   with).
 * If you want to disable loading plugins in specific contexts you can do that programmatically:
   [https://kinsta.com/blog/disable-wordpress-plugins-loading/](https://kinsta.com/blog/disable-wordpress-plugins-loading/)
   
   However, note that our plugin may be required in the frontend too, for example
   in My Account, on the thank you page, or even on any other page when WordPress
   is handling cron events, so doing this may result in unexpected behavior.

Viewing 1 replies (of 1 total)

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

 * ![](https://ps.w.org/woocommerce-pdf-invoices-packing-slips/assets/icon-256x256.
   png?rev=2189942)
 * [PDF Invoices & Packing Slips for WooCommerce](https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Ewout](https://wordpress.org/support/users/pomegranate/)
 * Last activity: [3 years, 12 months ago](https://wordpress.org/support/topic/performance-issue-42/#post-15652880)
 * Status: resolved