Hallo Zusammen,
da meine Internetseite sehr langsam ist habe ich etwas recherchiert.
Ich kam zu dem Ergebniss u.a. in der htaccess Datei dieses hier einzufügen
# BEGIN Browser Cache aktivieren
ExpiresActive On
ExpiresDefault "access plus 1 hour"
# END Browser Cache
[COLOR=#ff4d4d]
[COLOR=#000000]Auf dem FTP Server waren aber ganz viele htaccess Dateien[/COLOR][/COLOR]
[COLOR=#ff4d4d][COLOR=#000000].htaccess_Iscachebak_01[/COLOR]
.htaccess_Iscachebak_02
..... bis _05[/COLOR]
[COLOR=#ff4d4d][COLOR=#000000].htaccess_Iscachebak_original[/COLOR][/COLOR]
[COLOR=#ff4d4d][COLOR=#000000][/COLOR][/COLOR]
[COLOR=#ff4d4d][COLOR=#000000]Ich hab es bei allen so einegfügt. Allerdings stand so etwas ähnliches schon drin aber mit 1 year, 1 month usw.[/COLOR][/COLOR]
[COLOR=#ff4d4d][COLOR=#000000]Ich habe das dann überall auf plus 1 hour geändert.[/COLOR][/COLOR]
[COLOR=#ff4d4d][COLOR=#000000][/COLOR][/COLOR]
[COLOR=#ff4d4d][COLOR=#000000]ERGEBNIS: 500 Internal Server Error. Zwischendurch hat es aber eiegnetlich funktioniert. Die Seite ging. Ich hab ja nicht alles auf einmal geändert sondern immer mal geguck ob es funktioniert.[/COLOR][/COLOR]
[COLOR=#ff4d4d][COLOR=#000000][/COLOR][/COLOR]
[COLOR=#ff4d4d][COLOR=#000000]Ich kommt nicht mal mehr auf wordpress drauf also ins Dashboard oder so.[/COLOR][/COLOR]
[COLOR=#ff4d4d][COLOR=#000000]Ich telefoniere gerade mit 1 & 1 bzw häng in der Warteschleife. In der Ansage kam schon das es Serverprobleme gibt. Aber hängt das damit zusammen? Oder hab ich die Datei kapuut gemacht.[/COLOR][/COLOR]
[COLOR=#ff4d4d][COLOR=#000000][/COLOR][/COLOR]
[COLOR=#ff4d4d][COLOR=#000000]So sieht sie jetzt aus:[/COLOR][/COLOR]
[COLOR=#ff4d4d][COLOR=#000000][/COLOR][/COLOR]
[COLOR=#ff4d4d][COLOR=#000000]
# BEGIN LSCACHE
# END LSCACHE
# BEGIN NON_LSCACHE
# END NON_LSCACHE
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE text/cache-manifest
AddOutputFilterByType DEFLATE text/javascript
AddOutputFilterByType DEFLATE text/vcard
AddOutputFilterByType DEFLATE text/vnd.rim.location.xloc
AddOutputFilterByType DEFLATE text/vtt
AddOutputFilterByType DEFLATE text/x-component
AddOutputFilterByType DEFLATE text/x-cross-domain-policy
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
AddOutputFilterByType DEFLATE application/json
AddOutputFilterByType DEFLATE application/ld+json
AddOutputFilterByType DEFLATE application/atom+xml
AddOutputFilterByType DEFLATE application/manifest+json
AddOutputFilterByType DEFLATE application/rdf+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/schema+json
AddOutputFilterByType DEFLATE application/vnd.geo+json
AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
AddOutputFilterByType DEFLATE application/x-font-ttf
AddOutputFilterByType DEFLATE application/x-javascript
AddOutputFilterByType DEFLATE application/x-web-app-manifest+json
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE font/eot
AddOutputFilterByType DEFLATE font/opentype
AddOutputFilterByType DEFLATE image/bmp
AddOutputFilterByType DEFLATE image/svg+xml
AddOutputFilterByType DEFLATE image/vnd.microsoft.icon
AddOutputFilterByType DEFLATE image/x-icon
</IfModule>
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType text/css A2419200
ExpiresByType text/x-component A2419200
ExpiresByType application/x-javascript A2419200
ExpiresByType application/javascript A2419200
ExpiresByType text/javascript A2419200
ExpiresByType text/x-js A2419200
ExpiresByType text/html A3600
ExpiresByType text/richtext A3600
ExpiresByType image/svg+xml A3600
ExpiresByType text/plain A3600
ExpiresByType text/xsd A3600
ExpiresByType text/xsl A3600
ExpiresByType text/xml A3600
ExpiresByType video/asf A2419200
ExpiresByType video/avi A2419200
ExpiresByType image/bmp A2419200
ExpiresByType application/java A2419200
ExpiresByType video/divx A2419200
ExpiresByType application/msword A2419200
ExpiresByType application/vnd.ms-fontobject A2419200
ExpiresByType application/x-msdownload A2419200
ExpiresByType image/gif A2419200
ExpiresByType application/x-gzip A2419200
ExpiresByType image/x-icon A2419200
ExpiresByType image/jpeg A2419200
ExpiresByType application/json A2419200
ExpiresByType application/vnd.ms-access A2419200
ExpiresByType audio/midi A2419200
ExpiresByType video/quicktime A2419200
ExpiresByType audio/mpeg A2419200
ExpiresByType video/mp4 A2419200
ExpiresByType video/mpeg A2419200
ExpiresByType application/vnd.ms-project A2419200
ExpiresByType application/x-font-otf A2419200
ExpiresByType application/vnd.ms-opentype A2419200
ExpiresByType application/vnd.oasis.opendocument.database A2419200
ExpiresByType application/vnd.oasis.opendocument.chart A2419200
ExpiresByType application/vnd.oasis.opendocument.formula A2419200
ExpiresByType application/vnd.oasis.opendocument.graphics A2419200
ExpiresByType application/vnd.oasis.opendocument.presentation A2419200
ExpiresByType application/vnd.oasis.opendocument.spreadsheet A2419200
ExpiresByType application/vnd.oasis.opendocument.text A2419200
ExpiresByType audio/ogg A2419200
ExpiresByType application/pdf A2419200
ExpiresByType image/png A2419200
ExpiresByType application/vnd.ms-powerpoint A2419200
ExpiresByType audio/x-realaudio A2419200
ExpiresByType image/svg+xml A2419200
ExpiresByType application/x-shockwave-flash A2419200
ExpiresByType application/x-tar A2419200
ExpiresByType image/tiff A2419200
ExpiresByType application/x-font-ttf A2419200
ExpiresByType application/vnd.ms-opentype A2419200
ExpiresByType audio/wav A2419200
ExpiresByType audio/wma A2419200
ExpiresByType application/vnd.ms-write A2419200
ExpiresByType application/font-woff A2419200
ExpiresByType application/vnd.ms-excel A2419200
ExpiresByType application/zip A2419200
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
AddHandler x-mapp-php5.5 .php
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
## EXPIRES CACHING ##
ExpiresActive OnExpiresByType image/jpg "access 1 year"ExpiresByType image/jpeg "access 1 year"
ExpiresByType image/gif "access 1 year"
ExpiresByType image/png "access 1 year"
ExpiresByType text/css "access 1 month"
ExpiresByType application/pdf "access 1 month"
ExpiresByType text/x-javascript "access 1 month"
ExpiresByType application/x-shockwave-flash "access 1 month"
ExpiresByType image/x-icon "access 1 year"
ExpiresDefault "access 2 days"
## EXPIRES CACHING ##
Alles anzeigen
[/COLOR][/COLOR]
[COLOR=#ff4d4d][COLOR=#000000][/COLOR][/COLOR]
[COLOR=#ff4d4d][COLOR=#000000][/COLOR][/COLOR]
[COLOR=#ff4d4d][COLOR=#000000][/COLOR][/COLOR]
[COLOR=#ff4d4d][/COLOR]