Benutzer-Werkzeuge

Webseiten-Werkzeuge


tachtler:apache_http_server_centos_7_-_mod_pagespeed_-_pagespeed_module

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
tachtler:apache_http_server_centos_7_-_mod_pagespeed_-_pagespeed_module [2018/03/03 19:36] – [/etc/httpd/conf.d/vhost.conf] klaustachtler:apache_http_server_centos_7_-_mod_pagespeed_-_pagespeed_module [2018/03/07 17:17] (aktuell) – [/etc/httpd/conf.d/vhost.conf] klaus
Zeile 951: Zeile 951:
  
 Falls kein //virtueller Host// definiert ist, können folgende Konfigurationsangaben ebenfalls in der Datei ''/etc/httpd/conf/httpd.conf'' definiert werden. Falls kein //virtueller Host// definiert ist, können folgende Konfigurationsangaben ebenfalls in der Datei ''/etc/httpd/conf/httpd.conf'' definiert werden.
 +
 +:!: **WICHTIG** - **Nachfolgende Konfiguration __DEAKTIVIERT__ die inhaltliche Optimierung von __css__- und __js__-Dateien!**
 +
 +:!: **HINWEIS** - **Dies kann erforderlich sein, falls eine __CSS/JS-Framework__ zu Einsatz kommt!**
  
 Nachfolgend ein Beispiel für einen **//virtuellen Host//**: Nachfolgend ein Beispiel für einen **//virtuellen Host//**:
Zeile 1026: Zeile 1030:
                 ModPagespeedSslCertDirectory "/etc/pki/tls/certs"                 ModPagespeedSslCertDirectory "/etc/pki/tls/certs"
                 ModPagespeedSslCertFile ${varSSLCertificateFile}                 ModPagespeedSslCertFile ${varSSLCertificateFile}
 +                # Override the mod_pagespeed 'rewrite level'. The default level
 +                # "CoreFilters" uses a set of rewrite filters that are generally
 +                # safe for most web pages. Most sites should not need to change
 +                # this value and can instead fine-tune the configuration using the
 +                # ModPagespeedDisableFilters and ModPagespeedEnableFilters
 +                # directives, below. Valid values for ModPagespeedRewriteLevel are
 +                # PassThrough, CoreFilters and TestingCoreFilters.
 +                # Tachtler
 +                # DEFAULT "CoreFilters":
 +                # add_head
 +                # combine_css
 +                # combine_javascript
 +                # convert_meta_tags
 +                # extend_cache
 +                # fallback_rewrite_css_urls
 +                # flatten_css_imports
 +                # inline_css
 +                # line_import_to_link
 +                # line_javascript
 +                # rewrite_css
 +                # rewrite_images
 +                # rewrite_javascript
 +                # rewrite_style_attributes_with_url
 +                ModPagespeedRewriteLevel PassThrough
 +                # Explicitly disables specific filters. This is useful in
 +                # conjuction with ModPagespeedRewriteLevel. For instance, if one
 +                # of the filters in the CoreFilters needs to be disabled for a
 +                # site, that filter can be added to
 +                # ModPagespeedDisableFilters. This directive contains a
 +                # comma-separated list of filter names, and can be repeated.
 +                # ModPagespeedDisableFilters rewrite_images
 +                # Explicitly enables specific filters. This is useful in
 +                # conjuction with ModPagespeedRewriteLevel. For instance, filters
 +                # not included in the CoreFilters may be enabled using this
 +                # directive. This directive contains a comma-separated list of
 +                # filter names, and can be repeated.
 +                ModPagespeedEnableFilters add_head,extend_cache,fallback_rewrite_css_urls,rewrite_images
                 # Limit the number of inodes in the file cache. Set to 0 for no limit.                 # 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).                 # The default value if this paramater is not specified is 0 (no limit).
Zeile 1033: Zeile 1074:
                 # Tachtler                 # Tachtler
                 ModPagespeedFetchHttps enable                 ModPagespeedFetchHttps enable
-                ModPagespeedDomain https://homepage.tachtler.net +                ModPagespeedDomain https://www.tachtler.net 
-                ModPagespeedLoadFromFileMatch "^https?://www.tachtler.net/" "/var/www/html/"+                ModPagespeedLoadFromFileMatch "^https?://www.tachtler.net/" "/var/www/homepage/"
                 ModPagespeedLoadFromFileRuleMatch Disallow .*                 ModPagespeedLoadFromFileRuleMatch Disallow .*
-                ModPagespeedLoadFromFileRuleMatch Allow /js/awstats/.*\.js$ +                ModPagespeedLoadFromFileRuleMatch Allow \.js$
-                ModPagespeedLoadFromFileRuleMatch Allow /js/zurb/foundation/vendor/.*\.js$+
                 ModPagespeedLoadFromFileRuleMatch Allow \.css$                 ModPagespeedLoadFromFileRuleMatch Allow \.css$
                 ModPagespeedLoadFromFileRuleMatch Allow \.ico$                 ModPagespeedLoadFromFileRuleMatch Allow \.ico$
tachtler/apache_http_server_centos_7_-_mod_pagespeed_-_pagespeed_module.1520102170.txt.gz · Zuletzt geändert: 2018/03/03 19:36 von klaus