Technical information for the developer

Code Encryption / Obfuscation

Extensions developed by ETWS are not encrypted (no IonCube, Zend Guard, etc.).
100% of the source code is open source and not a single line of the code is obfuscated / encrypted.

Observers / Events

The extension listens for the following events, and uses them to add its functionality to Magento.

  • Area: frontend — Event: http_response_send_before
  • Area: adminhtml — Event: admin_system_config_changed_section_et_pagespeedoptimizer
  • Area: adminhtml — Event: clean_catalog_images_cache_after

The extension adds the following events:

  • Area: frontend — Event: et_pagespeedoptimizer_after_save_catalog_product_image_cash

Class Rewrites

This extension modifies the following classes:

  • Mage_Page_Block_Html_Head
  • Mage_Core_Model_Design_Package
  • Mage_Catalog_Model_Product_Image

Template Overrides

This extension does not rewrite any templates.

Database changes

Added tables

  • et_pagespeedoptimizer_scheduled_images

External Libraries

CSS and JS minification:

Minify (php) v.3.0.0
Author: Steve Clay
Website
Date: April 3, 2017


Image optimization (are installed separately):

OptiPNG (tested v. 0.7.6)
Cosmin Truta and the Contributing Authors
Website
Date: April 3, 2016


Jpegtran (tested v. 0.1.4)
Author: Jpegclub.org
Website
Date: October 5, 2012

or

Jpegoptim (tested v. 1.4.4)
Author: Timo Kokkonen
Website
Date: August 15, 2016

Last modify date: Thursday, May 18, 2017