Drupal Performance

PDF Generation in Drupal

It is nice when a user can click a button and generate a PDF. Over the last few months, I have added PDF generation to many projects. Examples of PDF generation include order invoices, sell sheets, webform submission results, and general node to PDF generation.  When tasked at generating PDFs, I have been applying the dompdf library. The dompdf library implements the most flexibility by using HTML and CSS to generate PDFs.  Therefore, giving the most flexibility for custom theming.  

Drupal and Cloudflare

Cloudflare is a great tool to add another layer of security to your Drupal website.  

When setup correctly Cloudflare will act as a firewall to block malicious traffic to your Drupal website at the application level.  Cloudflare blocks many types of attacks: cross-site scripting, cross-site forgery requests, and SQL injection attacks.  User checks can also be enabled such as GEO IP location and browser integrity checking to limit questionable or unneeded traffic.

Cloudflare also acts as a CDN and has many caching and performance features.