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


   Hi,
   
   Have restarted mod_pagespeed config from scratch and found that the header 
issue and cache misses comes from the LoadFromFile... might be a bug?
   
   I didn“t changed anything on the cache-control headers on my pages and when 
replacing:
   
   ModPagespeedLoadFromFile 
"https://biblioteca.celacp.org/opac-tmpl/bootstrap/images/"; 
   "/usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/images/"
   ModPagespeedLoadFromFile 
"https://biblioteca.celacp.org/opac-tmpl/bootstrap/itemtypeimg/"; 
"/usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/itemtypeimg/"
   
   With
   
   ModPagespeedLoadFromFile 
"https://biblioteca.celacp.org/opac-tmpl/bootstrap/"; 
"/usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/"
   
   I start getting the cache-control errors and caches mises
   
   In both cases I have:
   
   ModPagespeedInPlaceResourceOptimization on
   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|3gp|webp|webm|flv|avi|asx|asf)$
   
   This is my current full config:
   
   Version: 14: on
   
   Filters
   ah   Add Head
   ij   Canonicalize Javascript library URLs
   cc   Combine Css
   jc   Combine Javascript
   gp   Convert Gif to Png
   jp   Convert Jpeg to Progressive
   jw   Convert Jpeg To Webp
   mc   Convert Meta Tags
   pj   Convert Png to Jpeg
   ws   When converting images to WebP, prefer lossless conversions
   db   Debug
   di   Delay Images
   ec   Cache Extend Css
   ei   Cache Extend Images
   es   Cache Extend Scripts
   fc   Fallback Rewrite Css 
   if   Flatten CSS Imports
   hw   Flushes html
   ci   Inline Css
   ii   Inline Images
   il   Inline @import to Link
   ji   Inline Javascript
   io   In-place optimize for browser
   js   Jpeg Subsampling
   rj   Recompress Jpeg
   rp   Recompress Png
   rw   Recompress Webp
   ri   Resize Images
   cf   Rewrite Css
   jm   Rewrite External Javascript
   jj   Rewrite Inline Javascript
   cu   Rewrite Style Attributes With Url
   cp   Strip Image Color Profiles
   md   Strip Image Meta Data
   
   Options
     CacheFlushPollIntervalSec (acfpi)             1296000
     EnableCachePurge (euci)                       True
     EnableRewriting (e)                           1
     FetchWithGzip (afg)                           True
     FileCacheCleanIntervalMs (afcci)              36000000
     FileCacheInodeLimit (afcl)                    500000
     FileCachePath (afcp)                          /var/cache/mod_pagespeed/
     FileCacheSizeKb (afc)                         409600
     HttpCacheCompressionLevel (hccl)              9
     InPlaceResourceOptimization (ipro)            True
     LoadFromFileCacheTtlMs (lfct)                 600000
     LogDir (ald)                                  /var/log/pagespeed
     LRUCacheByteLimit (alcb)                      16384
     LRUCacheKbPerProcess (alcp)                   1024
     MaxCacheableContentLength (rcl)               20000000
     MaxCombinedCssBytes (xcc)                     -1
     MaxCombinedJsBytes (xcj)                      -1
     MemcachedServers (ams)                        localhost:11211
     PrivateNotVaryForIE (pnvie)                   True
     PurgeMethod (pm)                              PURGE
     RateLimitBackgroundFetches (rlbf)             False
     RewriteRandomDropPercentage (rrdp)            -1
     ShmMetadataCacheCheckpointIntervalSec (smci)  300
     SslCertDirectory (assld)                      /etc/ssl/certs
     StatisticsLogging (asle)                      True
   
   Domain Lawyer
     http*://*.celacp.org/ Auth
     http*://*.googletagmanager.com/ Auth
     http*://*.ssl-images-amazon.com/ Auth
     http*://45.79.198.124/ 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