uhlhosting edited a comment on issue #1720: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1720#issuecomment-740799952
@last reply, yes there must be a server block 127.0.0.1 . for stub status and /status page from internal nginx. - will replace now all pagespeed off/unplugged. - discovered that the stub also contains all the php-fpm variables invoked. - what would be best practice to add pagespeed unnplugged; in this case: ``` server { listen 80; server_name 127.0.0.1; allow 127.0.0.1; location /nginx_status { stub_status on; access_log off; } location /phpfpm_52_status { fastcgi_pass unix:/tmp/php-cgi-52.sock; include fastcgi_params; fastcgi_param SCRIPT_FILENAME $fastcgi_script_name; ``` The location /phpfpm_5x_status continues to all php versions up to 7.4 . Should I add unnplugged to each location, or the server should handle them all directly? Really appreciated all the time invested in replying and every feedback you provided, lifetime saver, alto I feel could write a book with all i've learned so far, still lot to learn and improve. It seems every now and then I come upon some newer configs especially for Wordpress, and I then follow up and see results. I had managed to take the pagespeed from 180~ms full load to 300~ms full load. I am not completely sure what can cause all that oscilation. Is there anything visible in my config, allowing it to oscilate so much? Also I was once checking 1 week ago the cache side of pagespeed, I used to have there inside 2 folders one so called v3 and the SHM folder, also I have a setting enabled, local_cache or such, you mentioned to disable it, isnt the local cache better than shm cache ? Cant they be used together? What are the debug variabled to see where issues occur and where pagespeed have troubles optimising, any good practices to find these speed gaps that keep oscilating? Here is last config version with updates on all suggestions received, some variables such as Outline* or Inline* are merely to be ready in place when Il be running tests to see what is better, to inline JS/CSS or to outline it. I have seen lots of configs where people apply both inline and outline, i know you mentioned this is wrong and should be avoided, and so I do. Version: 14: on ``` Filters ah Add Head ij Canonicalize Javascript library URLs cw Collapse Whitespace cc Combine Css ch Combine Heads 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 wa Convert animated images to WebP ws When converting images to WebP, prefer lossless conversions du Decode Rewritten URLs dd Dedup Inlined Images di Delay Images ea Elide Attributes ec Cache Extend Css ei Cache Extend Images ep Cache Extend PDFs es Cache Extend Scripts fc Fallback Rewrite Css if Flatten CSS Imports hpsr Hint Preload of Subresources hw Flushes html sm Include JS Source Maps ci Inline Css ii Inline Images il Inline @import to Link ji Inline Javascript io In-place optimize for browser idp Insert DNS Prefetch id Insert Image Dimensions js Jpeg Subsampling ll Lazyload Images tu Left Trim Urls cj Move Css Above Scripts cm Move Css To Head co Outline Css jo Outline Javascript pc Add pedantic types pr Prioritize Critical Css rj Recompress Jpeg rp Recompress Png rw Recompress Webp rc Remove Comments rq Remove Quotes ri Resize Images rm Resize Mobile Images ir Resize to Rendered Image Dimensions rx Responsive Images rz Responsive Images Zoom cf Rewrite Css rd Rewrite Domains jm Rewrite External Javascript jj Rewrite Inline Javascript cs Rewrite Style Attributes cu Rewrite Style Attributes With Url cp Strip Image Color Profiles md Strip Image Meta Data Options AddOptionsToUrls (aou) False AdminPath (nap) /pagespeed_admin AllowVaryOn (avo) Auto AvoidRenamingIntrospectiveJavascript (aris) True BeaconUrl (bu) /ngx_pagespeed_beacon CombineAcrossPaths (cp) True ConsolePath (ncp) /pagespeed_console CriticalImagesBeaconEnabled (cibe) True CssFlattenMaxBytes (cf) 102400 CssImageInlineMaxBytes (cii) 3072 CssInlineMaxBytes (ci) 20480 CssOutlineMinBytes (co) 40960 DisableRewriteOnNoTransform (drnt) False DomainRewriteHyperlinks (drh) True EnableCachePurge (euci) True EnableRewriting (e) 1 FetchHttps (fhs) enable,allow_self_signed FetchWithGzip (afg) True FileCacheCleanIntervalMs (afcci) 86400000 FileCacheInodeLimit (afcl) 1000000 FileCachePath (afcp) /mnt/ram/pagespeed FileCacheSizeKb (afc) 1024000 FinderPropertiesCacheExpirationTimeMs (fpce) 720000000 ForbidAllDisabledFilters (fadf) True GlobalAdminPath (ngap) /pagespeed_global_admin GlobalStatisticsPath (ngsp) /ngx_pagespeed_global_statistics HonorCsp (hcsp) True HttpCacheCompressionLevel (hccl) 0 ImageInlineMaxBytes (ii) 4096 ImageJpegNumProgressiveScans (ijps) -1 ImageJpegNumProgressiveScansForSmallScreens (ijpst) -1 ImageLimitOptimizedPercent (ip) 100 ImageLimitResizeAreaPercent (ia) 100 ImageMaxRewritesAtOnce (im) -1 ImageRecompressionQuality (irq) 77 ImageResolutionLimitBytes (irlb) 32000000 ImplicitCacheTtlMs (ict) 31536000000 InPlaceResourceOptimization (ipro) True InPlaceRewriteDeadlineMs (iprdm) 33 InPlaceSMaxAgeSec (ipsm) 10 JpegRecompressionQuality (iq) -1 JpegRecompressionQualityForSmallScreens (iqss) 66 JsInlineMaxBytes (ji) 20480 JsOutlineMinBytes (jo) 40960 LazyloadImagesAfterOnload (llio) False LazyloadImagesBlankUrl (llbu) //uhl.site/wp-content/uploads/psa/1.gif LoadFromFileCacheTtlMs (lfct) 31536000000 LogDir (ald) /var/log/pagespeed LowercaseHtmlNames (lh) True LRUCacheByteLimit (alcb) 16384 LRUCacheKbPerProcess (alcp) 8192 MaxCacheableContentLength (rcl) -1 MaxCombinedCssBytes (xcc) -1 MaxCombinedJsBytes (xcj) 51200 MaxInlinedPreviewImagesIndex (mdii) -1 MaxSegmentLength (uss) 2048 MessagesPath (nmp) /ngx_pagespeed_message MinImageSizeLowResolutionBytes (nislr) 3072 ModifyCachingHeaders (mch) True NoTransformOptimizedImages (ntoi) True PreserveUrlRelativity (pur) True PrivateNotVaryForIE (pnvie) False ProgressiveJpegMinBytes (jp) 5120 PurgeMethod (pm) PURGE RedisServer (rds) 127.0.0.1:6379 ReportUnloadTime (rut) True RespectVary (rv) True RewriteDeadlinePerFlushMs (rdm) 111 RewriteLevel (l) Core Filters ShmMetadataCacheCheckpointIntervalSec (smci) 300 SslCertDirectory (assld) /etc/pki/tls/certs SslCertFile (asslf) /etc/pki/tls/cert.pem Statistics (ase) True StatisticsLogging (asle) True StatisticsLoggingIntervalMs (asli) 60000 StatisticsLoggingMaxFileSizeKb (aslfs) 1024 StatisticsPath (nsp) /ngx_pagespeed_statistics SupportNoScriptEnabled (snse) False WebpRecompressionQuality (iw) 77 WebpRecompressionQualityForSmallScreens (iwss) 66 XHeaderValue (xhv) Empowered By UHL Agency Domain Lawyer https://uhl.site/ Auth Invalidation Timestamp: Sun, 06 Dec 2020 18:52:48 GMT (1607280768410) ``` ---------------------------------------------------------------- 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