/Lesti_Fpc

Simple Magento Fullpagecache

Primary LanguagePHPOtherNOASSERTION

Lesti_Fpc

Latest Release Software License Build Status Coverage Status

Simple Magento Fullpagecache. The current documentation can be found here.

Install

Several quick start options are available:

Install manually

Install with modman

modman clone https://github.com/GordonLesti/Lesti_Fpc.git

Install with Magento Composer Installer

  • add the requirement gordonlesti/lesti_fpc
{
    "require": {
        "gordonlesti/lesti_fpc": "*"
    }
}

Change log

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Security

If you discover any security related issues, please email info@gordonlesti.com instead of using the issue tracker.

Credits

License

The Open Software License v. 3.0 (OSL-3.0). Please see License File for more information.

=======

  • Install manually:
    • Download latest version here
    • Unzip
    • Copy app directory into Magento

For module creators

You can now make your modules compatible with Lesti_Fpc by injecting configuration to it. There is no longer a need to manually configure handles and parameters in admin.

See this example, configuration goes in your config.xml

<config>
    <!--  // your modules normal config // -->

    <default>
        <lesti_fpc>
            <cache_actions>
                <cms_index_index />
                <right.reports.product.viewed />
            </cache_actions>
            <miss_uri_params>
                <limit><![CDATA[limit=/^([0-9]+)|(all)$/"]]></limit>
            </miss_uri_params>
        </lesti_fpc>
    </default>
</config>

The keys used have the same name as the fields in admin, possible keys are:

  • cache_actions
  • bypass_handles
  • uri_params
  • refresh_actions
  • miss_uri_params
  • dynamic_blocks
  • lazy_blocks

If a tag does not contain a value (like cms_index_index above), the tagname is used. If it does contain a value, that value is used (like limit above).