--------------------------------------------------------------------------------
Monster Full Page Cache (MonsterFPC)
--------------------------------------------------------------------------------

Author: Yanni Snamiguel 
Version: 1.0.1-pl
Based on: xFPC by SCHERP Ontwikkeling
Documentation: https://modxmonster.com/
--------------------------------------------------------------------------------

Monster Full Page Cache is a modernized, high-performance static caching engine for MODX Revolution. It bypasses the standard MODX parser entirely for anonymous users, delivering fully rendered, minified, and Gzip-compressed HTML directly from the disk.

This fork has been completely rewritten to ensure strict compatibility with PHP 8.2+ and modern server environments.

KEY FEATURES:
* Blazing Fast: Serves pages in milliseconds by skipping database queries and MODX parsing for guests.
* PHP 8.2+ Native: Clean, strictly typed, and free of deprecation warnings.
* Gzip Compression: Reduces cache footprint by up to 90% and speeds up TTFB.
* HTML Minification: Strips unnecessary whitespace from the final cached output.
* Modern Hole-Punching: Uses the modern JavaScript Fetch API for dynamic content injection (bypassing the cache for specific snippets).
* Smart URL Hashing: Ignores tracking parameters (like ?fbclid=) to prevent cache pollution.

USAGE:
Once installed, MonsterFPC runs automatically. You can configure its behavior via the System Settings under the "monsterfpc" namespace.

HOLE PUNCHING (Dynamic Content in Cached Pages):
If you need dynamic content (like a shopping cart or user greeting) on a fully cached page, use the included snippet:
[[!MonsterFPC_Ajax? &snippet=`YourDynamicSnippet` &property1=`value`]]

This will render a placeholder and use modern asynchronous JavaScript to fetch the snippet's output without holding up the page load.