Problems with multi-server deployments and CDN-s
-
Hi,
I’m trying to use this plug-in with WordPress servers behind load balancer. It works well with one machine but not with 2+ machines. It seems that files in cache get different names on different machines. When machine 1 provides HTML and JS or CSS is asked from machine 2 then machine 2 doesn’t have file with correct name and the result is 404.
There’s also issue with CDN. I can let plug-in generate CDN links. It works but as cache file names vary from request to request it is actually impossible to have these cache files available in custom CDN (I’m using Akamai CDN offering from Microsoft Azure).
Is there any way to make Autoptimize to use guaranteed file names in cache so I can use it server farm or CDN?
With best regards,
Gunnar Peipman
- The topic ‘Problems with multi-server deployments and CDN-s’ is closed to new replies.