network-server

Posted by & filed under Plugins, Servers.

Found gmetrix .  This website can test the of youe site and gives you tips on how to up your site.
Looks like it is worthwhile to use and especially test themes with it.

They have a special page for wordpress optimization

See if you kan turn on KeepAlive on the itself.

I added this to my htaccess:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#speeding up the server
<IfModule mod_deflate.c>
SetOutputFilter DEFLATE
# Don.t compress
SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary
SetEnvIfNoCase Request_URI \.(?:exe|t?gz|zip|bz2|sit|rar)$ no-gzip dont-vary
#Dealing with proxy servers
<IfModule mod_headers.c>
Header append Vary User-Agent
</IfModule>
</IfModule>
<ifModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 1 seconds"
ExpiresByType text/html "access plus 1 seconds"
ExpiresByType image/gif "access plus 2592000 seconds"
ExpiresByType image/jpeg "access plus 2592000 seconds"
ExpiresByType image/png "access plus 2592000 seconds"
ExpiresByType text/css "access plus 604800 seconds"
ExpiresByType text/javascript "access plus 216000 seconds"
ExpiresByType application/x-javascript "access plus 216000 seconds"
</ifModule>
<pre><ifModule mod_headers.c>
 <filesMatch "\\.(ico|pdf|flv|jpg|jpeg|png|gif|swf)$">
 Header set Cache-Control "max-age=2592000, public"
 </filesMatch>
 <filesMatch "\\.(css)$">
 Header set Cache-Control "max-age=604800, public"
 </filesMatch>
 <filesMatch "\\.(js)$">
 Header set Cache-Control "max-age=216000, private"
 </filesMatch>
 <filesMatch "\\.(xml|txt)$">
 Header set Cache-Control "max-age=216000, public, must-revalidate"
 </filesMatch>
 <filesMatch "\\.(html|htm|php)$">
 Header set Cache-Control "max-age=1, private, must-revalidate"
 </filesMatch>
</ifModule>

3 Responses to “Speeding Up wordpress with gmetrix”

  1. Ramon Fincken

    Leuk, al is er natuurlijk veel meer dan W3totalcache .. het is niet de heilige graal..

    Ook snap ik deze toevoeging niet:
    ExpiresByType text/html “access plus 1 seconds”

  2. admin

    Alle beetjes helpen nietwaar? Ik gebruik zelf WP Super Cache.
    ExpiresByType, ken de details ook niet, dit is wat ik vond als tip. Voor javascript en CC zou je de waarde hoger kunnen zetten.

    • admin

      CC = css (nog niet genoeg koffie).

      Ik denk ook dat het pas verschil gaat maken met drukke sites.

Leave a Reply

  • (will not be published)