Bryan Ruby: Drupal maintenance support plans 8.4 Available and Fixes Significant Database Caching Drupal Updates

Drupal maintenance support plans 8.4 Available and Fixes Significant Database Caching Drupal Updates

Image

Bryan Ruby
Sat, 10/14/2020 – 20:58

Your hosting account was found to be causing an overload of MySQL resources. What can you do? Upgrade your Drupal maintenance support plans 8 website to Drupal maintenance support plans 8.4 or higher.
One of my goals in rebranding my website from CMS Report to socPub was to write diverse articles beyond the topic of content management systems. Yet, here we go again with another CMS related article. The Drupal maintenance support plans open source project recently made available Drupal maintenance support plans 8.4 and for me this version has been a long time coming as it addresses some long standing frustrations I’ve had with Drupal maintenance support plans 8 from the perspective of a site administrator. While Drupal maintenance support plans 8.4 adds some nice new features, I’m just as excited about the bug fixes and performance improvements delivered in this new version of Drupal maintenance support plans.
When Drupal maintenance support plans 8 was introduced it made significant improvements in how it caches and renders pages. That’s great news for websites that use Drupal maintenance support plans‘s built-in caching to speed up delivery of pages or page elements. But there was one unwanted side effect to the cache enhancements, excessive growth of cache tables with tens or hundreds of thousands of entries, and gigabytes in size. For my own website it is not too uncommon to see my database reach 4 GB in size. Let’s put it this way, it was no fun to receive a letter from my hosting provider that they weren’t too happy of my resource usage. Worse they threatened shutting down my website if I didn’t manage the database size better. Just in the nick of time for you and me, Drupal maintenance support plans 8.4 delivers a fix to the cache growth by introducing a new default limit of 5000 rows per cache bin.
I’m still playing with this change and I haven’t found a lot of documentation, but you can override the default row limit in Drupal maintenance support plans‘s settings.php via the setting “database_cache_max_rows”. For my site, the following settings has helped me keep my MySQL database under half a Gigabyte:

$settings[‘database_cache_max_rows’][‘default’] = 5000;
$settings[‘database_cache_max_rows’][‘bins’][‘page’] = 500;
$settings[‘database_cache_max_rows’][‘bins’][‘dynamic_page_cache’] = 500;
$settings[‘database_cache_max_rows’][‘bins’][‘render’] = 1000;For those of you that may not be ready to upgrade to Drupal maintenance support plans 8.4 but still need to handle the oversized caching tables today, I had some luck with the Slushi cache module. An additional good summary of similar solutions for Drupal maintenance support plans 8 versions prior to 8.4 can be found on Drupal Update’s blog.
Notable New Features in Drupal maintenance support plans 8.4
Of course the purpose of Drupal maintenance support plans 8.4 isn’t just to address my pet peeve about Drupal maintenance support plans caching but also to bring Drupal maintenance support plans users a number of new features and improvements. Some of the more significant additions and changes in Drupal maintenance support plans that affect me and possibly you include:
Datetime Range
For non-Drupal maintenance support plans user I know this is going to sound odd, but despite a number of community approaches there never really been a standard format for expressing a range for date or time commonly used in event and planning calendars. Drupal maintenance support plans 8.4 addresses this missing field type with the new core Datetime Range module to support contributed modules like Calendar and shares a consistent API with other Datetime fields. Future releases may improve Views support, usability, Datetime Range field validation, and REST support.

Content Moderation and Workflow
Although I’ve been a longtime user of Drupal maintenance support plans, for a two year period I managed my website on the Agility CMS. One of the benefits of Agility over Drupal maintenance support plans were the workflow and moderation tools delivered “out of the box”. The ability to moderate content becomes especially important in websites that have multiple authors and editors collaborating together and in need to mark whether the content is a draft, ready for review, in need of revision, ready to publish, etc. With Drupal maintenance support plans 8.4 the Workflow modules is now stable and provides the framework to build additional modules such as the much anticipated Content Moderation module. Currently, the new core Content Moderation is considered experimental and beta stable so additional future changes should be expected. Content moderation workflows can now apply to any entity types that support revisions, and numerous usability issues and critical bugs are resolved in this release.
Media Handling
Another long standing issue for me has been how Drupal maintenance support plans handles, displays, and allows you to reuses (it doesn’t without outside help) those images. Over the years, there has been a host of solutions found via contributed modules but I’ve often found myself frustrated that support for these modules vary and often compatible versions are not made available until weeks or months after a new major version of Drupal maintenance support plans has been released. The new core Media module wants to change this hurdle by providing an API for reusable media entities and references. It is based on the contributed Media Entity module which has become popular in recent years within Drupal maintenance support plans‘s users.
Unfortunately, the core Media module still needs work and is currently marked hidden. In other words Media by default will not appear in Drupal maintenance support plans 8.4’s module administration page. The module will be displayed to site builders normally once once related user experience issues are resolved in a future release. Although, if you elect to use a contributed module under development that depends on the core Media module it will enable Media automatically for you. Similarly, the REST API and normalizations for Media are not final and support for decoupled applications will be improved in a future release. So while the Media API in available in this version of Drupal maintenance support plans, most of us non-developers will need to wait for additional development to see the benefits of this module. 
Additional Information on Drupal maintenance support plans 8.4
An overview of Drupal maintenance support plans 8.4 can be found at Drupal maintenance support plans.org but for a better list of the changes and fixes you’ll want to check out the release notes. As always, links to the latest version of Drupal maintenance support plans can be found on the project page. I’ve seen a few strange errors in the logs since updating my site from Drupal maintenance support plans 8.3 to 8.4 but nothing significant for me to recommend waiting to install Drupal maintenance support plans 8.4. For those that are more cautious, the next bugfix release (8.4.1) is scheduled for November 1, 2020.
Article originally published at socPub.

Disqus

Tags

Content Management
Drupal maintenance support plans
Planet Drupal maintenance support plans
Open Source
Information System
System Administration
Story


Source: New feed

This article was republished from its original source.
Call Us: 1(800)730-2416

Pixeldust is a 20-year-old web development agency specializing in Drupal and WordPress and working with clients all over the country. With our best in class capabilities, we work with small businesses and fortune 500 companies alike. Give us a call at 1(800)730-2416 and let’s talk about your project.

FREE Drupal SEO Audit

Test your site below to see which issues need to be fixed. We will fix them and optimize your Drupal site 100% for Google and Bing. (Allow 30-60 seconds to gather data.)

Powered by

Bryan Ruby: Drupal maintenance support plans 8.4 Available and Fixes Significant Database Caching Drupal Updates

On-Site Drupal SEO Master Setup

We make sure your site is 100% optimized (and stays that way) for the best SEO results.

With Pixeldust On-site (or On-page) SEO we make changes to your site’s structure and performance to make it easier for search engines to see and understand your site’s content. Search engines use algorithms to rank sites by degrees of relevance. Our on-site optimization ensures your site is configured to provide information in a way that meets Google and Bing standards for optimal indexing.

This service includes:

  • Pathauto install and configuration for SEO-friendly URLs.
  • Meta Tags install and configuration with dynamic tokens for meta titles and descriptions for all content types.
  • Install and fix all issues on the SEO checklist module.
  • Install and configure XML sitemap module and submit sitemaps.
  • Install and configure Google Analytics Module.
  • Install and configure Yoast.
  • Install and configure the Advanced Aggregation module to improve performance by minifying and merging CSS and JS.
  • Install and configure Schema.org Metatag.
  • Configure robots.txt.
  • Google Search Console setup snd configuration.
  • Find & Fix H1 tags.
  • Find and fix duplicate/missing meta descriptions.
  • Find and fix duplicate title tags.
  • Improve title, meta tags, and site descriptions.
  • Optimize images for better search engine optimization. Automate where possible.
  • Find and fix the missing alt and title tag for all images. Automate where possible.
  • The project takes 1 week to complete.