{"id":41124941,"url":"https://github.com/bagisto/lite-speed-cache","last_synced_at":"2026-01-22T17:59:01.447Z","repository":{"id":322811595,"uuid":"1050957598","full_name":"bagisto/lite-speed-cache","owner":"bagisto","description":"LiteSpeed Cache Extension for Bagisto","archived":false,"fork":false,"pushed_at":"2025-11-06T12:13:02.000Z","size":71,"stargazers_count":2,"open_issues_count":5,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-06T14:13:42.345Z","etag":null,"topics":["bagisto","cache","cms","ecommerce","laravel","litespeed","lscache","optimization","performance","php"],"latest_commit_sha":null,"homepage":"https://github.com/bagisto/bagisto","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bagisto.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-05T08:02:49.000Z","updated_at":"2025-11-06T12:18:25.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/bagisto/lite-speed-cache","commit_stats":null,"previous_names":["bagisto/lite-speed-cache"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/bagisto/lite-speed-cache","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bagisto%2Flite-speed-cache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bagisto%2Flite-speed-cache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bagisto%2Flite-speed-cache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bagisto%2Flite-speed-cache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bagisto","download_url":"https://codeload.github.com/bagisto/lite-speed-cache/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bagisto%2Flite-speed-cache/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28667881,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T17:07:18.858Z","status":"ssl_error","status_checked_at":"2026-01-22T17:05:02.040Z","response_time":144,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bagisto","cache","cms","ecommerce","laravel","litespeed","lscache","optimization","performance","php"],"created_at":"2026-01-22T17:59:00.696Z","updated_at":"2026-01-22T17:59:01.429Z","avatar_url":"https://github.com/bagisto.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LiteSpeed Cache for Bagisto\n\nA **LiteSpeed Cache integration** for the [Bagisto](https://bagisto.com/) framework that helps boost performance and reduce server load by caching frequently accessed content.\n\n\u003e ✅ **We use OpenLiteSpeed LSCache — an Open-Source, High-Performance Cache Engine**\n\nThis package allows you to easily manage cache for:  \n- ⚡ Homepage static content  \n- 📦 Product listings \u0026 category pages  \n- 📝 CMS pages  \n- 🔍 Search results  \n\nWith LiteSpeed Cache, your store will deliver content faster, reduce database queries, and scale better under high traffic.\n\n---\n\n## 🌟 Why OpenLiteSpeed LSCache?\n\nOpenLiteSpeed LSCache is an **open-source, built-in full-page caching system** tightly integrated with the OpenLiteSpeed web server.\nIt significantly improves application performance without requiring complex configurations.\n\n### ✅ Key Benefits\n\n* 🚀 **High-performance full-page caching**\n* 📈 **Improves site speed \u0026 reduces TTFB (Time To First Byte)**\n* 🔁 **Supports dynamic \u0026 static caching**\n* 💾 **Reduces server workload \u0026 DB queries**\n* 🌐 **Open-source \u0026 production-ready**\n* ⚙️ **Fine-tuned cache controls for specific routes**\n* 🔒 **Secure \u0026 maintained by LiteSpeed Technologies**\n\n---\n\n## 🚀 Requirements\n\n- [Bagisto v2.3.6](https://github.com/bagisto/bagisto/tree/v2.3.6)  \n- Installed \u0026 configured [LiteSpeed Web Server](https://docs.litespeedtech.com/lsws/) with **LSCache enabled**  \n\n👉 To verify if a URL is cached, use the [LSCache Check Tool](https://check.lscache.io/).\n\n---\n\n## ⚙️ Installation \u0026 Configuration\n\n### 1. Install LiteSpeed LSCache for Laravel\nRequire the `litespeed/lscache-laravel` package via Composer:\n\n```bash\ncomposer require litespeed/lscache-laravel\n```\n\n#### Publish `Litespeed\\LSCache` package's configuration:\n\n```bash\nphp artisan vendor:publish --provider=\"Litespeed\\LSCache\\LSCacheServiceProvider\"\n```\n\n#### Enable CacheLookup for LiteSpeed Cache:\n* To enable CacheLookup for LiteSpeed Cache, add the following code, either on `server, vhost or .htaccess` level:\n\n```bash\n\u003cIfModule LiteSpeed\u003e\n   CacheLookup on\n\u003c/IfModule\u003e\n```\n\n### 2. Configure Bagisto LSC Package\nUnzip the `bagisto LSC package` zip to the bagisto root directory, and Follow the below mention steps:\n\n#### Do couple of entries in root `composer.json` in psr-4 object:\n\n```bash\n\"Webkul\\\\LSC\\\\\": \"packages/Webkul/LSC/src\"\n```\n\n#### Goto `bootstrap/providers.php` file and add following line:\n\n```bash\nWebkul\\LSC\\Providers\\LSCServiceProvider::class,\n```\n\n#### Run the below commands from root in terminal:\n\n```php\ncomposer dump-autoload\n```\n\n```php\nphp artisan litespeed:install\n```\n\n### For more information about the LSCache, You can follow the [Official LiteSpeed Documentation](https://docs.litespeedtech.com/lscache/lsclaravel/installation/#installation)\n\n- Run your store.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbagisto%2Flite-speed-cache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbagisto%2Flite-speed-cache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbagisto%2Flite-speed-cache/lists"}