We use cookies
We use cookies to optimize our website. By continuing to browse the site, you agree to our use of cookies.
Control panel
  • Русский
  • Українська
  • English
  • UAH
  • USD
  • RUB
  • EUR
  • 0-800-307-307 Hotline
  • +38 (044) 392-74-33 Kiev
  • +38 (057) 728-39-00 Kharkiv
  • +38 (056) 794-38-31 Dnipro
  • +38 (032) 229-58-93 Lviv
  • +38 (048) 738-57-70 Odessa
  • +38(093) 170-15-42  Life
  • +38 (067) 400-88-44 Kievstar
  • +1(888)393-24-51  USA, Toll free
  • +44(131)507-01-14  Great Britain
  • +7 (499) 348-28-61 Moscow

2.2.3. Memcache(d)

Memcache (d) - in-memory data caching service. Designed to speed up web applications by reducing unnecessary database load. Allows to store key-value pairs in memory for small amounts of data (strings, objects) received from the database, calls API, preliminary formation of the content of web pages (everything that takes unnecessary time to execute and can be cached). Simply put, Memcache (d) is the caching of site pages not to disk (or to a database), but to RAM.

Important points:

  • The ordered volume is allocated to the entire hosting account without division by sites. The maximum total volume is 512 MB.
  • On businesshosting Memcache (d) does not need to be ordered. It is available free of charge within the allocated amount of RAM.

To order Memcache (d) memory do the following:

  1. Open the section "Hosting ».
  2. In the block "Additional services»Click«Memcache»:
  3. In the drop-down list, select the required amount of memory and click "To order"(If the system informs about the presence of an unpaid order, in the text of this notice click"undo", Then repeat the order):
  4. If this is the first time ordering the service, skip this step to use free 7-day trial period... Otherwise, pay automatically generated invoice any of available ways and wait for the payment to be credited.
  5. Wait approximately 30 minutes for the service to activate.
  6. Configure Memcache (d) on the right sites.

Important points:

  • To use Memcache (d), the site settings must be set PHP version not lower than 5.2.
  • For business hosting, it should be borne in mind that if the maximum memory value is selected in the Memcache (d) settings, but part of the memory is consumed by other scripts, then the module will not be able to consume all the memory selected in the settings and will overwrite the oldest data in the cache. Therefore, when configuring, it is recommended to reserve part of the memory for scripts.

To connect to the Memcache (d) server, you need to use the socket address specified in the section “Memcache statistics».

PHP modules are available to work with the service memcache and memcached, that is, you can connect to either one or the other socket:

If the site is running on one of the listed CMS, to configure Memcache (d) use the appropriate instruction:

Note

You can test the work of Memcache (d) with this script.

For detailed statistics on the use of Memcache (d) in the section “Hosting "In the block"Additional services»Click«Memcache statistics»:

Example statistics: