• Resolved quantafire

    (@quantafire)


    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

    (@futtta)

    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.