Longinos, here is the whole pagespeed.conf file (pardon the messed up layout, tabs don't get expanded the same way as they do in my editor):
# Attempt to load mod_version if it wasn't loaded or compiled in (eg on Debian)
<IfModule !mod_version.c>
LoadModule version_module /usr/lib64/httpd/modules/mod_version.so
</IfModule>
<IfVersion < 2.4>
LoadModule pagespeed_module /usr/lib64/httpd/modules/mod_pagespeed.so
</IfVersion>
<IfVersion >= 2.4.2>
# As default pagespeed.conf configuration uses old-style ACLs using
# 'allow' and 'deny', we load mod_access_compat in Apache 2.4. If that's a
# problem, the blocks using that can be converted to the newer 'Require'
# syntax.
<IfModule !access_compat_module>
LoadModule access_compat_module /usr/lib64/httpd/modules/mod_access_compat.so
</IfModule>
LoadModule pagespeed_module /usr/lib64/httpd/modules/mod_pagespeed_ap24.so
</IfVersion>
# Only attempt to load mod_deflate if it hasn't been loaded already.
<IfModule !mod_deflate.c>
LoadModule deflate_module /usr/lib64/httpd/modules/mod_deflate.so
</IfModule>
<IfModule pagespeed_module>
ModPagespeed on
AddOutputFilterByType MOD_PAGESPEED_OUTPUT_FILTER text/html
AddOutputFilterByType MOD_PAGESPEED_OUTPUT_FILTER application/xhtml+xml
# enable mod_deflate for html,xml,js,css,php files
ModPagespeedFetchWithGzip on
SetOutputFilter DEFLATE
AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml text/javascript
AddOutputFilterByType DEFLATE text/css application/x-javascript
AddOutputFilterByType DEFLATE application/x-httpd-php
DeflateCompressionLevel 9
# for old (not compatbile) browsers
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
# Set env var for images
SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip
# The ModPagespeedFileCachePath directory must exist and be writable
# by the apache user (as specified by the User directive).
ModPagespeedFileCachePath "/var/cache/mod_pagespeed/"
ModPagespeedCreateSharedMemoryMetadataCache "/var/cache/mod_pagespeed/" 51200
# LogDir is needed to store various logs, including the statistics log
# required for the console.
ModPagespeedLogDir "/var/log/pagespeed"
ModPagespeedMessageBufferSize 200000
# add extra error information (switch off for regular use)
# ModPagespeedListOutstandingUrlsOnError on
# If you want, you can use one or more memcached servers as the store for
# the mod_pagespeed cache.
# ModPagespeedMemcachedServers localhost:11211
# A portion of the cache can be kept in memory only, to reduce load on disk
# (or memcached) from many small files.
ModPagespeedCreateSharedMemoryMetadataCache "/var/cache/mod_pagespeed_mem/" 51200
# explicitly enable only the filters we want
ModPagespeedRewriteLevel PassThrough
ModPagespeedEnableFilters add_head,convert_meta_tags,rewrite_style_attributes_with_url
ModPagespeedEnableFilters rewrite_style_attributes,insert_dns_prefetch,rewrite_css
ModPagespeedEnableFilters combine_heads,fallback_rewrite_css_urls,move_css_to_head
ModPagespeedEnableFilters elide_attributes,hint_preload_subresources
ModPagespeedEnableFilters rewrite_javascript
ModPagespeedEnableFilters collapse_whitespace,prioritize_critical_css,combine_javascript
ModPagespeedEnableFilters flatten_css_imports,remove_comments,remove_quotes,combine_css
ModPagespeedEnableFilters move_css_above_scripts,outline_css
ModPagespeedEnableFilters responsive_images,rewrite_images,responsive_images_zoom
ModPagespeedEnableFilters resize_images,resize_mobile_images,dedup_inlined_images,insert_image_dimensions
ModPagespeedEnableFilters inline_css
ModPagespeedEnableFilters inline_javascript,inline_import_to_link
ModPagespeedEnableFilters sprite_images,recompress_images,resize_rendered_image_dimensions
ModPagespeedEnableFilters convert_png_to_jpeg,convert_jpeg_to_webp,convert_gif_to_png,convert_to_webp_lossless
ModPagespeedEnableFilters convert_to_webp_animated,convert_jpeg_to_progressive,recompress_webp,recompress_png
ModPagespeedEnableFilters make_google_analytics_async,recompress_jpeg
ModPagespeedEnableFilters lazyload_images,inline_images,inline_preview_images
ModPagespeedEnableFilters extend_cache
ModPagespeedEnableFilters trim_urls,canonicalize_javascript_libraries
ModPagespeedEnableFilters rewrite_domains
# ModPagespeedEnableFilters inline_google_font_css,add_instrumentation
ModPagespeedGoogleFontCssInlineMaxBytes 1000
ModPagespeedSupportNoScriptEnabled false
ModPagespeedForceCaching on
ModPagespeedInPlaceResourceOptimization on
ModPagespeedDisableRewriteOnNoTransform off
ModPagespeedEnableCachePurge on
# Defering Javascript scores high in PageSpeed, but is dangerous!!!
# ModPagespeedEnableFilters defer_javascript
# switch on SSL/TLS for Serf fetching
# The locations of SSL Certificates is distribution-dependent.
ModPagespeedSslCertDirectory "/etc/letsencrypt/live/solacity.com" ModPagespeedSslCertFile "cert.pem"
ModPagespeedFetchHttps enable,allow_self_signed,allow_unknown_certificate_authority,allow_certificate_not_yet_valid
# additional domains we want mod_pagespeed to optimize for
ModPagespeedInlineResourcesWithoutExplicitAuthorization Script,Stylesheet
# shard files over three domains hosted at Amazon CloudFront
# Other defaults (cache sizes and thresholds):
ModPagespeedRewriteDeadlinePerFlushMs 200
ModPagespeedFileCacheSizeKb 5120000
ModPagespeedFileCacheCleanIntervalMs 3600000
ModPagespeedFileCacheInodeLimit 1000000
ModPagespeedDefaultSharedMemoryCacheKB 500000
ModPagespeedLRUCacheKbPerProcess 2048
ModPagespeedLRUCacheByteLimit 16384
ModPagespeedCssFlattenMaxBytes 204800
ModPagespeedCssInlineMaxBytes 5096
ModPagespeedCssImageInlineMaxBytes 5096
ModPagespeedImageInlineMaxBytes 5096
ModPagespeedJsInlineMaxBytes 5096
ModPagespeedCssOutlineMinBytes 4000
ModPagespeedJsOutlineMinBytes 4000
ModPagespeedMaxCombinedCssBytes -1
ModPagespeedMaxCombinedJsBytes -1
ModPagespeedMaxCacheableContentLength 33554432
ModPagespeedPermitIdsForCssCombining *
ModPagespeedImageMaxRewritesAtOnce 0
ModPagespeedImplicitCacheTtlMs 1209600000
# ModPagespeedFinderPropertiesCacheExpirationTimeMs 86400000
# Limit the number of inodes in the file cache. Set to 0 for no limit.
# The default value if this paramater is not specified is 0 (no limit).
# customize the number of threads per Apache process
ModPagespeedNumRewriteThreads 4
ModPagespeedNumExpensiveRewriteThreads 4
# Many filters modify the URLs of resources in HTML files. This is typically
# harmless but pages whose Javascript expects to read or modify the original
# URLs may break. The following parameters prevent filters from modifying
# URLs of their respective types.
#
# ModPagespeedJsPreserveURLs on
# ModPagespeedImagePreserveURLs on
# ModPagespeedCssPreserveURLs on
# Settings for image optimization:
ModPagespeedImageRecompressionQuality 80
ModPagespeedJpegRecompressionQuality 80
ModPagespeedJpegRecompressionQualityForSmallScreens 70
ModPagespeedWebpRecompressionQuality 80
ModPagespeedWebpRecompressionQualityForSmallScreens 70
ModPagespeedImageLimitOptimizedPercent 97
ModPagespeedImageLimitResizeAreaPercent 100
# Renaming JavaScript URLs can sometimes break them. With this
# option enabled, mod_pagespeed uses a simple heuristic to decide
# not to rename JavaScript that it thinks is introspective.
ModPagespeedAvoidRenamingIntrospectiveJavascript off
# The following line configures a library that is recognized by
# canonicalize_javascript_libraries. This will have no effect unless you
# enable this filter (generally by uncommenting the last line in the
# previous stanza). The format is:
# ModPagespeedLibrary bytes md5 canonical_url
# Where bytes and md5 are with respect to the *minified* JS; use
# js_minify --print_size_and_hash to obtain this data.
# Note that we can register multiple hashes for the same canonical url;
# we do this if there are versions available that have already been minified
# with more sophisticated tools.
#
# Additional library configuration can be found in
# pagespeed_libraries.conf included in the distribution. You should add
# new entries here, though, so that file can be automatically upgraded.
# Explicitly tell mod_pagespeed to load some resources from disk.
ModPagespeedLoadFromFileRuleMatch disallow .*
ModPagespeedLoadFromFileRuleMatch allow \.css$
ModPagespeedLoadFromFileRuleMatch allow \.js$
ModPagespeedLoadFromFileRuleMatch allow \.gif$
ModPagespeedLoadFromFileRuleMatch allow \.png$
ModPagespeedLoadFromFileRuleMatch allow \.jpg$
ModPagespeedLoadFromFileRuleMatch allow \.jpeg$
ModPagespeedLoadFromFileRuleMatch allow \.webp$
ModPagespeedLoadFromFileRuleMatch allow \.svg$