• MODX.com

    80 downloads

PageShrink

PageShrink is an extra by matdave, first released on 2024-09-04.

Package Description

PageShrink is a MODX Revolution Extra that allows you to shrink the size of your MODX pages by removing unnecessary whitespace and comments from the HTML output. It also works to minify Javascript and CSS inlined in your page.

Usage/Installation Instructions

**Installation** 1. Download the latest release from the [MODX Extras Repository](http://modx.com/extras/package/pageshrink) or via the MODX Package Browser. 2. Install the package via the MODX Package Manager. **System Settings** **pageshrink.resource_shrink** _yes_ Minify the output of Resources. **pageshrink.cache_resource_shrink** _yes_ Cache the minified output of Resources. **Usage** MODX PageShrink is enabled by default. The shrunk version of the resource is also cached by default. You can disable the cache globally by setting the `pageshrink.cache_resource_shrink` system setting to `0`. It is recommended to keep the page cache enabled. If you have specific resources that you do not want to cache, you can disable the cache for those resources by setting the `cacheable` property to `0` in the resource's settings. This would apply to things like forms, pages with pagination, etc., where the painted content of the page will change based on a user interaction or request variable. PageShrink will attempt to detect these types of pages and create a new cache, but there may be some edge cases where it does not work as expected.

Details

Developer(s)
matdave
Released
2024-09-04
First seen
2024-09-04
License
GPLv2
Supported databases
Minimum MODX Requirement
2.0

PageShrink Releases

Vendor Signature Released on
MODX.com 1.0.4-pl 2024-09-04 (3 months ago)
MODX.com 1.0.3-pl 2023-06-06 (1 year ago)
MODX.com 1.0.1-pl 2023-04-20 (1 year ago)
MODX.com 1.0.0-pl 2023-04-19 (1 year ago)