Video for Speed Up your website

To use WPResidence, you must be running WordPress- 4.4 or higher and PHP7.0 or higher. PHP influences your site speed.

We have a dedicated server and a demo with 2500 properties here http://demo3.wpresidence.net/ with an average of 4 sec loading time. You can get the same results with shared hosting. Read more here: http://wpestate.org/you-should-move-to-wpengine-hosting/

Enable Wp Residence Cache

The theme cache was implemented for the most used theme elements, shortcodes, and widgets. You can use additionally other cache plugins for HTML, CSS because our cache doesn’t interfere with that.

Theme caches several elements, and the main focus is on the property unit used in lists (properties list, taxonomy, and property shortcode) because these lists have a lot of data. The cache saves the number of requests sent to the database, which helps to load pages faster. And this a highly recommended solution for good speed results in general, which we wanted to offer to our clients. Also, it’s important to mention that theme Cache renews automatically every 4 hours.

Clients can manually delete cache at any time using the “Delete Cache” button from the admin dashboard top bar.  Or turn it off from Theme Options:

However, we strongly recommend using this caching system and not turning it off as we’ve studied the solution intensively, and we know what advantages it has over site usability. No caching plugin can replace the cache we have implemented since it’s specific to theme features and only to use this cache you can have the advantages that come with it.

Enable Minify from the theme and follow the rest of the suggestions:

      
# Insert filters
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
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/x-httpd-php
AddOutputFilterByType DEFLATE application/x-httpd-fastphp
AddOutputFilterByType DEFLATE image/svg+xml
# Drop problematic browsers
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
# Make sure proxies dont deliver the wrong content
Header append Vary User-Agent env=!dont-vary

## EXPIRES CACHING ##

ExpiresActive On
ExpiresByType 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 text/html "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 1 month"

## EXPIRES CACHING ##

Make sure you are not missing images.

You must make sure that images are not missing.

The most common issue is missing retina logos and retina pins. For speed reasons, It’s very important to upload Retina Logos and Retina Pins.

WpResidence theme is ready for screens and retina devices and the retina script will automatically detect and load retina images. They have just to exist otherwise the requests for the missing images will overload your server.

Video for how to upload Retina Logo and Retina Map pins:

In Theme Options -> Map -> Pin Management section when use image pins must make sure you upload pins and retina pins for all property categories.

 The site will get slow if it needs to look for pin images that don’t exist.  You can choose to upload only a single pin for all properties. To do this Enable Single Pin Marker option.

Read more here on what are the options available. Any option can work as long as it’s set http://help.wpresidence.net/article/wpresidence-options-pin-management/ correctly.

Enable read from file for pins

Since on our theme, the property pins are displayed over the map the option to Enable read file for pins from the MAP SETTINGS section might help to improve site speed on some servers.

For pins displayed on the map are stored details like property coordinates and the way we load pins without the “Read from file” system might not be handled on some servers and the website starts to slow down from less than 200 properties.

So – just in case – a test that read from the file system works with the “generate pins” button (manual control) or a cron that generates new pins every 24 hours automatically.

Read more here – http://help.wpresidence.net/article/google-maps-settings-how-read-from-file-works/

Limit the number of pins to a number supported by your hosting

Starting 1.18 version, we have added the option to choose the Maximum number of pins that will show on the map for a single page.

Add Google API Key if use Google maps

Google Maps requires you add your own API key before you start using it. It is mandatory to add the key.

Video for how to create the Google Map API key

Help for Google Maps setup in theme: http://help.wpresidence.net/article/map-type-open-street-or-google-maps/

Help for api key setup: http://help.wpresidence.net/article/google-api-key/

Disable the slider in Property Unit

This is not mandatory. The slider option must be disabled only if the homepage has many units displayed or if properties have many images uploaded as it will be loaded on property unit for slider and it increases the page size.

We generate a specific thumb for property unit – for each image uploaded to a property to save site speed and not show the user a large image when a small thumb is all that is needed.

Navigate to theme options – Design – and on Property, Agent, Blog Lists Design section has the option to Use Slider in Property Unit. You can set up it to no if needed.

Enable Gzip on the server and make sure your hosting has a cache system (like Memcached for ex)

GiZIP compression is popular, and many WordPress hosting platforms enable it by default.

As a workaround, you can use plugins like  FASTEST CACHE- plugin and enable gzip compression.

Enabling cache as well will make a difference, but server cache has better results.

WP Fastest Cache is a 3rd party plugin that is used by many of our clients.

In order to work properly the following settings must be made:

fastca set

Also, the delete cache period must be set:

fastca set1

Make sure your images are optimized.

Large images can slow site performance as they impact the Page Size so make sure your images and less size possible – this applies to any image.

Use plugins such as SMUSH IT or EWWW OPTIMIZER.

Images can also be optimized before upload using this compression tool: https://tinypng.com/

You are using too many plugins.

Additional website functionality with plugins might come with a price: performance degradation.

Make sure you are not using too many plugins as every plugin you install has to load with every page. A lot of them are cached efficiently and don’t impact performance, but just as many are built poorly, packed with features that aren’t needed. so it can significantly slow down your website.

You are using Cheap or Shared Hosting. 

Sorry to break it to you, but your $9.95 Turbo Plan at Hostgator/A2hosting/Bluehost/Godaddy probably isn’t suitable for your website. Shared hosting means you SHARE resources. That means that there are hundreds of sites like yours, all fighting for resources on the same machine(computer). This is how these companies make money: they take a server and put as many clients as possible on it and limit the resources for each website hosted there. It’s even worse is if you’re running multiple websites running on the same plan!

Also, a hacker who has gained access to one site on a shared machine can most likely gain access to all the sites on that machine.  Look for at least a virtual hosting.  – you should get a decent one for $20-$30.

Always update

Always update to the latest theme versions and WordPress version. We release constant updates with new features but also with code improvements that may speed up your website.

*** We update this document regularly – you should check it from time to time.

———-

Speed results for thousands of listings. Recommendations.

In our opinion, the limit for a decent speed on one dedicated is less than 7k. Solutions for 7k+ would require some custom development or limiting the map number of pins to show at one time.

We know the map works ok with a few thousand pins (we believe the decent speed limit is around 5k or a little more with the above tips).