Introduction
Schema App has integrations available for Drupal 10 and 11. The Schema App Drupal Module receives structured data from the Schema App Editor and Schema App Highlighter and stores it server-side. The module can also cache schema markup locally, pulling schema markup from Schema App’s Schema Markup Delivery Network. It is not dependent on any external packages.
TABLE OF CONTENTS
Technical Design
The Schema App Drupal module provides local caching for markup generated using Schema App. It uses Drupal's cache mechanism with Drupal’s web requests functionality to pull markup and store in the Drupal cache using standard Drupal hooks to add the markup to the page.
Deployment happens near real-time on page load, and the markup is injected into the page.
It provides a 24-hour cycle for cached resources, allowing them to be refreshed within Schema App. Schema Markup is deployed in real-time, but the markup is not generated in real-time. It will check the cache if it is empty or expired in real time.
Flow Chart
Technical Design - Notes and Observations
- The local caching of the module refreshes once every 24 hours, so you will see the change go live after the plugin refreshes again. This is the intended behavior.
- Total performance impact of highlight.js: <59ms
However, If Highlight.js fails to match when evaluating a Highlighter template, it continues to monitor the page with the wait time and retries decaying over time. This may cause an impact on page performance if it needs to retry a lot. Each retry duration would be a fraction of the initial attempt.
Installation Guides
Additional Resources
Support
For support with your Drupal module setup or to get your Account ID, contact your Customer Success Manager or support@schemaapp.com.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article