2012-01-30, 02:01:42
mrmut Wrote:mikeh Wrote:Here is a new website my wife and I just finished for a large real estate company:
http://tinyurl.com/3m9peyy
Let me know your opinions please
Wow, this is big.
Have you used multiuser plugin without any modifications, or modified? I have tried to implement it, but have have many problems with logging in and out with different browsers, and also a "no" displaying at the top the the page when user had "settings" blocked.
Did you tried caching plugin?
And you should really use .htaccess (if apache) to to compress the site. It would load way faster:
Code:# Enable GZIP
<ifmodule mod_deflate.c>
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
</ifmodule>
# Expires Headers - 2678400s = 31 days
<ifmodule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 1 seconds"
ExpiresByType text/html "access plus 7200 seconds"
ExpiresByType image/gif "access plus 2678400 seconds"
ExpiresByType image/jpeg "access plus 2678400 seconds"
ExpiresByType image/png "access plus 2678400 seconds"
ExpiresByType text/css "access plus 518400 seconds"
ExpiresByType text/javascript "access plus 2678400 seconds"
ExpiresByType application/x-javascript "access plus 2678400 seconds"
</ifmodule>
# Cache Headers
<ifmodule mod_headers.c>
# Cache specified files for 31 days
<filesmatch "\.(ico|flv|jpg|jpeg|png|gif|css|swf)$">
Header set Cache-Control "max-age=2678400, public"
</filesmatch>
# Cache HTML files for a couple hours
<filesmatch "\.(html|htm)$">
Header set Cache-Control "max-age=7200, private, must-revalidate"
</filesmatch>
# Cache PDFs for a day
<filesmatch "\.(pdf)$">
Header set Cache-Control "max-age=86400, public"
</filesmatch>
# Cache Javascripts for 31 days
<filesmatch "\.(js)$">
Header set Cache-Control "max-age=2678400, private"
</filesmatch>
</ifmodule>
# Turn ETags Off
FileETag None
# Turn PHP caching off
<FilesMatch "\.(php)$">
<IfModule mod_expires.c>
ExpiresActive Off
</IfModule>
<IfModule mod_headers.c>
Header set Cache-Control "private, no-cache, no-store, proxy-revalidate, no-transform"
</IfModule>
</FilesMatch>
Additionally, install PageSpeed to Chrome, and analyze the page. The Chrome will give you optimized images (with loss) that are significantly smaller. You could shave off some 200-300kb from download size. (Tested page: http://downingfryerealestatecompany.com/...munities/)
Also, try to combine your java scripts into 2-3 files max, this is a lot of calls you generate. You might try moving them to the bottom of the page, just before </body> so your page displays faster.
Good work!
Thanks for your suggestions (mrmut and n00dles101)! Much appreciated.