OpenLS version 1.7.14 pagespeed module is not loading

#1
HI,
I am testing ols version 1,7.4 pre compiled package It comes with modpagespeed . But is it not loaded.

# /usr/local/lsws/bin/openlitespeed -v
LiteSpeed/1.7.14 Open
module versions:
modgzip 1.1
cache 1.62
modinspector 1.1
uploadprogress 1.1
mod_security 1.4
(built: Tue Sep 7 15:24:59 UTC 2021)
module versions:
modgzip 1.1
cache 1.62
modinspector 1.1
uploadprogress 1.1
mod_security 1.4
# ll /usr/local/lsws/modules/modpagespeed.so
-rwxr-xr-x 1 root root 90123512 Nov 17 22:27 /usr/local/lsws/modules/modpagespeed.so*

This is not a custom build it is a tar ball downloaded from the git repo of ols. The module is already there but it is not loading.

Configuration in modpagespeed.conf :

# Google Page Speed cache
module modpagespeed {
param <<<END_param
pagespeed on
pagespeed InPlaceResourceOptimization off
pagespeed FetchHttps enable
pagespeed FileCachePath /var/cache/lsws/pagespeed/
pagespeed EnableFilters remove_comments
pagespeed EnableFilters local_storage_cache
pagespeed EnableFilters extend_cache_pdfs
pagespeed EnableFilters combine_css
pagespeed EnableFilters rewrite_css
pagespeed EnableFilters extend_cache,rewrite_images
pagespeed EnableFilters rewrite_javascript
#pagespeed FileCacheSizeKb 102400
#pagespeed FileCacheCleanIntervalMs 3600000
#pagespeed FileCacheInodeLimit 500000000
pagespeed FetcherTimeoutMs 5000
#pagespeed ModifyCachingHeaders off
#pagespeed RunExperiment on
#pagespeed EnableFilters inline_images
END_param
}
 
#2
I managed to fix this issue. The modpagesped.conf need to include in main configuration then only we can control it inside a domain vhost
 
Top