Skip to content

AndreKlang/Lesti_Fpc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lesti_Fpc

Branch Build Status Coverage
Master Build Status Coverage Status
Develop Build Status Coverage Status

Release Information

Lesti_Fpc 1.4.4

System Requirements

  • PHP 5.4 or higher
  • Magento CE1.5.x-1.9.x

Installation

  • Install with modman:

    • $ modman clone https://github.com/GordonLesti/Lesti_Fpc.git
  • Install with Magento Composer Installer and add a requirement gordonlesti/lesti_fpc

      {
          "require": {
              "gordonlesti/lesti_fpc": "*"
          }
      }
    
  • 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).

Packages

No packages published

Languages

  • PHP 99.4%
  • HTML 0.6%