When adding new domain to your server add the follwing lines to wp-config.php
sudo nano /var/YourFolder/wp-config.php
Find the sentence reading:
/* That's all, stop editing! Happy blogging. */
Add the following lines just above
define('WP_CACHE',true);
define('WP_MEMORY_LIMIT','256M');