Skip to main content
13
results
Andrew Fletcher
This code is from Drupal 9 back-end for a React front-end via REST API. Working through the output for recently viewed pages... the code structure: <?php namespace Drupal\custom\Plugin\GetData\paragraph; use Drupal\custom\Plugin\GetData\ContentBase; use Drupal\custom\Plugin\GetData\ParagraphTrait; use Drupal\node\Entity\Node; /** * Provides Recent view pages data. * * @GetData( * id = "recent_view_pages", * title = @Translation("Recent view pages Data"), * ) */ class...
Andrew Fletcher
The cache system in Drupal 9 delivers the API with the elements required for...
Andrew Fletcher
Installing Varnish to increase the speed of the page load. Install varnish using...
Andrew Fletcher
Clear DNS Cache The DNS (Domain Name Service) cache on your Mac helps browsers...
Andrew Fletcher
I'm writing these steps primarily for myself as a reference.  However, if...
Andrew Fletcher
Load testing verifies the system performance under the expected peak load.  The peak load needs to set by a series of parameters that you have benchmarked targets.  For example, these parameters could include: Load testing: 20,000 concurrent users; and response time of under 4 seconds Stress testing: Verifies the server performance under extreme load.  Test this through examining how many users are required to bring your server Endurance testing: Load test over an extended...
Andrew Fletcher
To connect to your CPanel hosted server via SSH OSX, please follow...
Andrew Fletcher
I had an issue where logging in from the app disconnected.  The error that...
Andrew Fletcher
Overview To update ejabberd you need to remove it, then re-install with the...
Andrew Fletcher
The starting point is to read through and follow the notes outlined on the...
Andrew Fletcher
To add Erlang repository that also includes the public key for verifying signed package, use the following shell commands: wget https://packages.erlang-solutions.com/erlang-solutions-1.0-1.noarch.rpm rpm -Uvh erlang-solutions-1.0-1.noarch.rpmInstall Erland yum install erlangCheck that Erland has been installed enter the command (case sensitive) erlIf the Erland package has been successfully installed terminal will be output something like Erlang/OTP 21 [erts-10.3.2] [source] [64-bit]...
Andrew Fletcher
Adding a pem file to secure ejabbered on the server for chat connection. Getting...
Andrew Fletcher
To access the ejabberd log files, I found them located at the following...