Wordpress: verschil tussen versies

Uit Wiki Durk 'o' Theek
Ga naar: navigatie, zoeken
(Nieuwe pagina aangemaakt met 'Caching: We use W3 Super Cache and don't forget a CDN. We use MaxCDN. Cloudflare https://developers.google.com/speed/pagespeed/insights/&urlhash=Bg7N&_t=tracking_...')
 
Regel 1: Regel 1:
Caching:
+
'''Caching:'''
  
 
We use W3 Super Cache and don't forget a CDN. We use MaxCDN.
 
We use W3 Super Cache and don't forget a CDN. We use MaxCDN.
Regel 55: Regel 55:
 
</IfModule>
 
</IfModule>
 
# END Cache-Control Headers
 
# END Cache-Control Headers
 +
 +
----
 +
 +
'''Beveiliging:'''
 +
 +
http://codex.wordpress.org/Brute_Force_Attacks
 +
http://wordpress.org/plugins/bruteprotect/
 +
http://hackguard.com/protecting-wordpress-against-brute-force-attacks
 +
http://pressing-matters.io/any-easy-way-to-block-brute-force-attacks-from-botnets/
 +
https://getclef.com/

Versie van 6 apr 2014 om 23:10

Caching:

We use W3 Super Cache and don't forget a CDN. We use MaxCDN. Cloudflare

https://developers.google.com/speed/pagespeed/insights/&urlhash=Bg7N&_t=tracking_disc

if your web server is apache then consider adding the following to your .htaccess (even if you use a cache plugin). It should speed up your site remarkably

  1. Gzip

<ifModule mod_gzip.c> mod_gzip_on Yes mod_gzip_dechunk Yes mod_gzip_item_include file .(html?|txt|css|js|php|pl)$ mod_gzip_item_include handler ^cgi-script$ mod_gzip_item_include mime ^text/.* mod_gzip_item_include mime ^application/x-javascript.* mod_gzip_item_exclude mime ^image/.* mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.* </ifModule>

  1. BEGIN Expire headers

<IfModule mod_expires.c> ExpiresActive On ExpiresDefault "access plus 5 seconds" ExpiresByType image/x-icon "access plus 2500000 seconds" ExpiresByType image/jpeg "access plus 2500000 seconds" ExpiresByType image/png "access plus 2500000 seconds" ExpiresByType image/gif "access plus 2500000 seconds" ExpiresByType application/x-shockwave-flash "access plus 2500000 seconds" ExpiresByType text/css "access plus 600000 seconds" ExpiresByType text/javascript "access plus 200000 seconds" ExpiresByType application/javascript "access plus 200000 seconds" ExpiresByType application/x-javascript "access plus 200000 seconds" ExpiresByType text/html "access plus 600 seconds" ExpiresByType application/xhtml+xml "access plus 600 seconds" </IfModule>

  1. END Expire headers
  1. BEGIN Cache-Control Headers

<IfModule mod_headers.c> <filesMatch ".(ico|jpe?g|png|gif|swf)$"> Header set Cache-Control "public" </filesMatch> <filesMatch ".(css)$"> Header set Cache-Control "public" </filesMatch> <filesMatch ".(js)$"> Header set Cache-Control "private" </filesMatch> <filesMatch ".(x?html?|php)$"> Header set Cache-Control "private, must-revalidate" </filesMatch> </IfModule>

  1. END Cache-Control Headers

Beveiliging:

http://codex.wordpress.org/Brute_Force_Attacks http://wordpress.org/plugins/bruteprotect/ http://hackguard.com/protecting-wordpress-against-brute-force-attacks http://pressing-matters.io/any-easy-way-to-block-brute-force-attacks-from-botnets/ https://getclef.com/