Giter Club home page Giter Club logo

lscache_prestashop8's Introduction

lscache_prestashop

LiteSpeed Cache Plugin for Prestashop

About

LiteSpeed Cache for PrestaShop communicates directly with your installation of LiteSpeed Web Server to save and serve static copies of dynamic web pages, greatly reducing your shop’s page-load time. LSCPS is the only PrestaShop Cache module to support esi:include and esi:inline.

Installation

Install LiteSpeed Web Server Enterprise. Disable any other page caches as these will interfere with LSCPS. Download the LSCPS plugin. Log in to your PrestaShop Admin, navigate to Modules > Modules & Services, and click on Upload a Module. Select the LSCPS zip file. Enable the module by navigating to LiteSpeed Cache > Settings and setting Enable LiteSpeed Cache to Yes.

Notes For Litespeed Web Server Enterprise (LSWS)

Make sure that your license includes the LSCache module enabled. A 2-CPU trial license with LSCache module is available for free for 15 days. The server must be configured to have caching enabled. If you are the server admin, click here. Otherwise request that the server admin configure the cache root for the server.

Module Features

  • Support for PrestaShop 1.6 and 1.7+.
  • LSCPS supports multiple stores, multi-language, multi-currency, geolocation and mobile view.
  • Integrated into both LiteSpeed Web Server and LiteSpeed Web ADC. Works in a single-server environment using LSWS, or a clustered environment using LS Web ADC.
  • Caching is highly customizable on both a global level and a per-store basis. Tag-based caching allows purge by tag from external programs.
  • Main page and public blocks are cached once and served to all users. Private blocks are cached per user and served only to that user.
  • LSCPS automatically caches the following pages with a GET request (including AJAX GET): Home, Categories, Products, CMS, New products, Best sales, Suppliers, Manufacturers, Prices drop, Sitemap.
  • User information can be cached privately via ESI blocks and auto purged when the information changes. Support for cart and account sign in are built in. Other third-party modules that contain private information can be easily added.
  • Updates in the shop admin area automatically trigger a purge of any related pages in the cache.
  • New client orders automatically trigger a purge of related product and catalog pages based on stock status or quantity (configurable).
  • The cache can be manually flushed from within the PrestaShop admin.
  • If a page contains products with specific prices, TTL will be auto adjusted based on special price effective dates.

Testing the Module

LSCPS utilizes LiteSpeed-specific response headers. Use your browser’s developer tools to check them: Select the Network tab and look at the response headers for the first file listed. Visiting a page for the first time should result in a X-LiteSpeed-Cache-Control:miss or X-LiteSpeed-Cache-Control:no-cache response header for the page. Subsequent requests should have the X-LiteSpeed-Cache-Control:hit response header until the page is updated, expired, or purged.

Learn More

For additional instructions, tips, and ideas, please see the LiteSpeed Cache for PrestaShop documentation.

lscache_prestashop8's People

Contributors

litespeedtech avatar mathiasreker avatar soyjosean 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.