Skip to main content
All CollectionsCompatibilities
Using NitroPack with Contact Form Plugins: Ensuring Seamless Performance with Dynamic Content
Using NitroPack with Contact Form Plugins: Ensuring Seamless Performance with Dynamic Content
Updated over a week ago

Embedding contact forms on your website is the perfect way to gather user data. However, maintaining instant page loading experiences while ensuring form security can be challenging.

This is where NitroPack's approach to optimization allows you to iadeptly balance website speed optimization with dynamic contact form functionality.

The Challenge of Security Tokens in Cached Environments

Contact forms typically utilize security tokens to safeguard against unauthorized submissions and threats like CSRF (Cross-Site Request Forgery).

These tokens are unique to each session or form load, ensuring the authenticity and security of each submission. However, standard caching practices can disrupt this process by caching these unique tokens, leading to potential submission errors and user frustration.

NitroPack’s Automatic Form Detection and Exclusion

At the core of NitroPack’s approach is its ability to automatically detect forms on a webpage.

This innovative feature ensures that while the rest of the page benefits from the speed enhancements of caching, the forms are kept dynamic and interactive.

This automatic detection and exclusion process means that there's no need for manual intervention, making NitroPack a user-friendly solution for optimizing website performance without compromising form functionality.

Out-of-the-Box compatibility

NitroPack is designed to work seamlessly with a range of widely-used form plugins. Some of the form plugins that work out-of-the-box with NitroPack include:

  • Hubspot: Ideal for inbound marketing and sales forms.

  • OptinMonster: Widely used for lead generation and conversion optimization forms.

  • WP Forms: Popular for creating simple to complex forms with ease.

  • Gravity Forms: Known for its advanced form-building capabilities.

  • Contact Form 7: Great for managing multiple contact forms.

Compatibility with Other Contact Forms Plugins

NitroPack also works well with other form plugins, although some manual setup may be required. For users who utilize plugins that are not mentioned in our list and wish to leverage NitroPack’s caching capabilities, our support team is readily available to assist with the setup.

For further assistance and information, contact us at [email protected].

Did this answer your question?