Giter Site home page Giter Site logo

magento-pjax's Introduction

magento-pjax | Magento Performance Booster

This module makes use of jquery-pjax. It works by sending an ajax request to the server when a user clicks on an internal link. The server sends the body content only and replaces it with the current body content.

For more information take a look at jquery-pjax.

Preparation

To eliminate any side effects of this performance you should go through every module and template and take care of the following possible issues:

  • All CSS styles should be the same on every page no matter what page you are loading
  • All JS files should either be the same on every page or be moved within the body tag
  • The body tag should not contain any content, like id or class attributes. As an alternative you can set the option down below to have that automatically be transformed on every page load.

Options

Set dk_magentopjax/move_body_tag_content_into_separate_div config option to 1 so that every content of the body tag will be moved to a separate div right after the body tag.

Contributing

  1. Fork it!
  2. Create your feature branch (git checkout -b feature/my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin feature/my-new-feature)
  5. Create new Pull Request

Author

Dimitri König (@dimitrikoenig)

License

This module is open-sourced software licensed under the Apache 2.0 license

magento-pjax's People

Contributors

dimitri-koenig avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.