Lofesa edited a comment on issue #1679: pagespeed with load balancer (nginx) and front-end (apache) URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1679#issuecomment-583063468 Hi >- Do I need to use a shared folder (maybe in a NAS) in >ModPagespeedFileCachePath instead of "/var/cache/pagespeed/"? I think is a bad idea. The time to load resources from a shared disk mayincrease the time to serve the resource >- Do I need to purge cache in each 4 front-end? If you use 4 disk cache, yes you need to purge each. But you can manage to store all the optimized resources in memcached, in latest versions it can stored big object (version 1.4.2 or later) with the -I option, or change memcached by redis that don´t have object size limits. To do so, you need to no configure any cache, only the file cache cause if not configured pagespeed don´t workbut not the `ModPagespeedCreateSharedMemoryMetadataCache `or and disable the `ModPagespeedDefaultSharedMemoryCacheKB` setting their size to 0. And maybe the same `ModPagespeedCacheFragment some_token` in all 4 servers. In ths way all metadata and optimized resources are stored in memcached or redis I have not tried this with multile servers, but I have 1 server and can´t use the disk.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services