You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pagespeed.apache.org by GitBox <gi...@apache.org> on 2020/07/05 10:15:49 UTC

[GitHub] [incubator-pagespeed-ngx] Lofesa commented on issue #1686: Random 404s on re-written images (nginx with shared Redis cache)

Lofesa commented on issue #1686:
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1686#issuecomment-653869325


   Have you done a system restart? 
   Some systems when restarted re-create folders with determined user and permisions, and may be these user/permision don´t permit write to the user that runs the apache/nginx processes.
   For example, in Centos distro you have the `/etc/tempfiles.d/` directory that may contain config files with lines like:
   `D /var/run/cache/nginx/ 0755 nginx nginx  -`
   This line creates a directory (D) in this path with this permissions and user/group owner.
   This directory is created each restart if don´t exists.
   
   In other hand, memcached don´t store all pagespeed cache objects. Their default config, stores only objects until 1Mb. This size is configurable but allways fixed. If you configure it to store objects until 5Mb, these that are biger need the file cache and if these file cache don´t exists or is unwritable.....
   Redis can store object of any size.
   
   


----------------------------------------------------------------
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:
users@infra.apache.org