ajconejo commented on issue #2034:
URL: 
https://github.com/apache/incubator-pagespeed-mod/issues/2034#issuecomment-678476174


   Hi Lofesa
   
   Thanks for your time with a detailed answer.
   
   I´ve edited the config file and remove the domains as shown below.
   As per the docs FecthHttps is enabled by default. I´ve manually enable it 
though
   LoadFromFiles is enabled as this:
     ModPagespeedLoadFromFile "https://biblioteca.celacp.org/plugin/"; 
"/var/lib/koha/biblioteca/plugins/"
     ModPagespeedLoadFromFile "https://biblioteca.celacp.org/opac-tmpl/"; 
"/usr/share/koha/opac/htdocs/opac-tmpl/"
     ModPagespeedLoadFromFile 
"https://biblioteca-admin.celacp.org/intranet-tmpl/"; 
"/usr/share/koha/intranet/htdocs/intranet-tmpl/"
      ModPagespeedLoadFromFileRuleMatch disallow .*
      ModPagespeedLoadFromFileRuleMatch allow 
.(ico|pdf|swf|eot|woff|ttf|otf|css|js|jpeg|jpg|png|gif|svg|svgz|mpg|mpeg|mp3|m4a|m4v|mp4|ogg|wmv|mov|mng|3gpp|3g
    p|webp|webm|flv|avi|asx|asf)$
   
   About the Cache-Control... have no idea where it come from. 
   I use mod_expire, but and have added this header in apache main config file:
   
   Header append Cache-Control "public, must-revalidate "
   
   Still with the modifications, I have a lots of missings and cache errors.
   
   any other idea?
   
   This is the new config file:
   
   Version: 14: on
   
   Filters
   gp   Convert Gif to Png
   jp   Convert Jpeg to Progressive
   jw   Convert Jpeg To Webp
   pj   Convert Png to Jpeg
   db   Debug
   di   Delay Images
   ec   Cache Extend Css
   ei   Cache Extend Images
   es   Cache Extend Scripts
   hw   Flushes html
   ji   Inline Javascript
   io   In-place optimize for browser
   js   Jpeg Subsampling
   co   Outline Css
   rj   Recompress Jpeg
   rp   Recompress Png
   rw   Recompress Webp
   cf   Rewrite Css
   jm   Rewrite External Javascript
   jj   Rewrite Inline Javascript
   cp   Strip Image Color Profiles
   md   Strip Image Meta Data
   
   Options
     DefaultSharedMemoryCacheKB (dsmc)             50000
     EnableRewriting (e)                           1
     FetchHttps (fhs)                              enable
     FetchWithGzip (afg)                           True
     FileCacheCleanIntervalMs (afcci)              3600000
     FileCacheInodeLimit (afcl)                    500000
     FileCachePath (afcp)                          /var/cache/mod_pagespeed/
     FileCacheSizeKb (afc)                         409600
     HonorCsp (hcsp)                               True
     ImageMaxRewritesAtOnce (im)                   12
     InPlaceResourceOptimization (ipro)            True
     LoadFromFileCacheTtlMs (lfct)                 60000000
     LogDir (ald)                                  /var/log/pagespeed
     LRUCacheByteLimit (alcb)                      16384
     LRUCacheKbPerProcess (alcp)                   1024
     MaxCacheableContentLength (rcl)               16777216
     MemcachedServers (ams)                        localhost:11211
     PreserveUrlRelativity (pur)                   True
     RespectVary (rv)                              True
     RewriteLevel (l)                              Optimize For Bandwidth
     ShmMetadataCacheCheckpointIntervalSec (smci)  300
     SslCertDirectory (assld)                      /etc/ssl/certs
     StatisticsLogging (asle)                      True
   
   Domain Lawyer
     http*://*.celacp.org/ Auth
     http*://45.79.198.124:8080/ Auth
   
   Invalidation Timestamp: (none)


----------------------------------------------------------------
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


Reply via email to