Title: Using Autoptimize on a multiple instance server
Last modified: July 27, 2018

---

# Using Autoptimize on a multiple instance server

 *  Resolved [quantafire](https://wordpress.org/support/users/quantafire/)
 * (@quantafire)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/using-autoptimize-on-a-multiple-instance-server/)
 * Hey Autoptimize team,
 * My dev team really want to make use of the Autoptimize plugin on our site but
   we are setting up a server environment with multiple parallel instances running
   that are load balanced. This means that whenever we visit the site, we are not
   sure exactly what instance we are hitting.
 * The way the Autoptimize plugin works seems to be storing the “Autoptimized” CSS&
   JS files in the uploads folder, but this presents a problem for us as we are 
   never sure which instance we are hitting. So each HTTPS request to the server
   could hit a different instance, even for one page load.
 * Do you have a solution for this as the plugin seems to be exactly what we are
   looking for to optimize our site’s page load weight.
 * Any help you could provide would be super helpful!
 * Thanks!
 * Marc

Viewing 1 replies (of 1 total)

 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/using-autoptimize-on-a-multiple-instance-server/#post-10532855)
 * Hey Marc;
    There are basically only 2 solutions; * either you so sticky load 
   balancing, making sure requests from one “session” go to the same node (in which
   case the wordpress instance will inject “known” AO url’s, either because they
   already exist or because they’re created as a result of the request) * or you
   have to share the autoptimize cache folder between your instances (as I guess
   you’re already doing for your uploads-folder to ensure e.g. images are available
   on all noded).
 * Hope this helps,
    frank

Viewing 1 replies (of 1 total)

The topic ‘Using Autoptimize on a multiple instance server’ is closed to new replies.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/using-autoptimize-on-a-multiple-instance-server/#post-10532855)
 * Status: resolved