2017 © Pedro Peláez
 

magento-module aoe_lazycatalogimages

image

aoepeople/aoe_lazycatalogimages

  • Thursday, May 11, 2017
  • by fbrnc
  • Repository
  • 61 Watchers
  • 72 Stars
  • 2,794 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 14 Forks
  • 9 Open issues
  • 18 Versions
  • 2 % Grown

The README.md

AOE, (*1)

Aoe_LazyCatalogImages Magento Module

Build Status, (*2)

This module (LCI) is meant to provide URLs for images that contain enough information to render the image at a later point in time. The current system pre-renders images and front-loads that overhead into the initial page render process. Additionally, if the image cache is flushed and a page is cached with the old image URLs, then the images will be broken. LCI changes all URLs generated by the catalog/image helper to contain the full set of parameters to build an image and signs the parameters with a SHA265 hash to prevent tampering by end-users., (*3)

The actual rendering of the images is handled via the /lci.php and /media/catalog/product/LCI/.htaccess combo. The .htaccess file will rewrite requests for non-existent files to be serviced by /lci.php. The entrypoint, lci.php, passes the full URL pathinfo to the image helper. The image helper attempts to extract a token from the pathinfo and checks if the token is valid and should be processed. At the early stage of token decoding a failure results in a 404 response. At later stages, after the token is decoded, a failure results in a redirect to a placeholder image., (*4)

License

OSL v3.0, (*5)

Contributors

Compatability

  • Helper Rewrites
    • catalog/image
  • Module Dependencies
    • Mage_Core
    • Mage_Catalog

TODO

  • Add admin config flag to enable/disable LCI
  • Add admin config flag to enable/disable local caching of the image under the LCI URL filename so Apache (or whatever) can directly serve the image on future requests
  • Add admin config for cache age
  • Add unit tests

Disclaimer

This module is experimental and not guaranteed to work., (*6)

The Versions

11/05 2017

dev-master

9999999-dev

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

11/05 2017

1.0.2

1.0.2.0

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

13/12 2016

1.0.1

1.0.1.0

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

18/08 2015

0.6.5

0.6.5.0

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

18/08 2015

1.0.0

1.0.0.0

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

18/08 2015

0.6.4

0.6.4.0

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

11/08 2015

0.6.3

0.6.3.0

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

11/08 2015

0.6.6

0.6.6.0

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

03/08 2015

0.6.2

0.6.2.0

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

03/08 2015

0.6.1

0.6.1.0

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

27/05 2015

0.6.0

0.6.0.0

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

27/04 2015

0.5.0

0.5.0.0

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

16/04 2015

0.4.0

0.4.0.0

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

10/04 2015

0.3.0

0.3.0.0

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

01/04 2015

0.2.0

0.2.0.0

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

31/03 2015

0.1.0

0.1.0.0

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

31/03 2015

dev-cache

dev-cache

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

14/01 2015

0.0.1

0.0.1.0

  Sources   Download

OSL-3.0

The Requires