Depending on the current load, Amazon EC2 may spawn multiple server instances of a well visited WordPress website (files are duplicated, while database is the same for all). For this WordPress website I want to enable static page caching.
The problem obviously is that almost every caching plugins store the cached within the server instance. If there are multiple instances the cache folder can not be shared on Amazon EC2 (https://serverfault.com/questions/646293/shared-file-systems-between-multiple-aws-ec2-instances).
Does anybody have experience with this topic? Is there a possibility to do static file caching within the database? Or how do you scale WordPress to multiple instances and solve the caching problem? I have looked for Plugins to solve this but no result :-/