php - modules on drupal sub-domains -
My Drupal site gets very heavy and slows down because new modules are loaded. Some of these modules are not required except the site's store section.
I am planning to create a store
sub-domain and in some way load those modules into that sub-domain.
- Does this mean I have to re-establish afternoon at
store.mydrupalsite.com
and twice onmydrupalsite.com
- In the store sub-domain, do I have to reinstall the original module besides the special store module, or is there any way to get the sub-domain from the main site in the store sub-domain?
- What if the user is already logged on the main site, do they need to re-login to the
store
subdomain, or whether to share the database The way? - Is there any real benefit to this idea or do I confuse things more?
- If I'm confused with things, then what should I do
If you create another site on another domain, you essentially create separate, separate site with different user stores, different configurations and different databases.
To reinstall T or to reinstall all modules: Drupal supports some of the multisite configuration , which you can run with the same Drupal installation Allows multiple sites with If you make sure that you want to share for both sites, then they are in the site / all folders, whatever you have to do, can create a new folder for each website in the site folder for each domain.
For example, if you have mydrupalsite.com and store.mydrupalsite.com, then you will create two folders in the site folder named mydrupalsite.com and store.mydrupalsite.com. In those folders, you had settings.php and a file folder that contains all the files for that specific site.
You can read more at Drupal.org.
All said that, what you are describing is probably not the best way: Sync two sites with unequal users and data stores is a real pain to maintain one and until A module calls hook_int () or other global hooks, then it loads on demand when a page actually implements one of the hooks that it uses. that had said that there is a module in the core, which will specify how long the site increases, then which modules are closed.
But throttle only goes so far, you probably want to do the most with drip installation, such as, ,,, or even start caching mechanism.
Comments
Post a Comment