{"id":19247924,"url":"https://github.com/litespeedtech/lscache-drupal","last_synced_at":"2025-04-21T11:33:48.423Z","repository":{"id":28081462,"uuid":"116174018","full_name":"litespeedtech/lscache-drupal","owner":"litespeedtech","description":"LSCache Plugin for Drupal","archived":false,"fork":false,"pushed_at":"2024-11-07T12:57:12.000Z","size":9659,"stargazers_count":15,"open_issues_count":12,"forks_count":15,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-04-21T02:05:15.633Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/litespeedtech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2018-01-03T19:30:33.000Z","updated_at":"2025-04-03T15:25:07.000Z","dependencies_parsed_at":"2023-09-30T00:52:44.609Z","dependency_job_id":"4269ead8-53ca-427c-afd1-f42db5e08188","html_url":"https://github.com/litespeedtech/lscache-drupal","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litespeedtech%2Flscache-drupal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litespeedtech%2Flscache-drupal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litespeedtech%2Flscache-drupal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litespeedtech%2Flscache-drupal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/litespeedtech","download_url":"https://codeload.github.com/litespeedtech/lscache-drupal/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250048103,"owners_count":21366176,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-09T18:05:40.863Z","updated_at":"2025-04-21T11:33:47.663Z","avatar_url":"https://github.com/litespeedtech.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"LiteSpeed Cache for Drupal 8+\n============================\n\n* Fastest Page cache for Drupal CMS.\n* Page Cache for both Logged In and Logged Out users. \n* Auto Purge relate Page Caches when content changes.\n* Drush and non-Drush cli commands for Cache warmup/clear.\n* Web GUI warmup will also warm up **Private Cache for Logged In Users** if enabled.\n* Supports latest releases of Drupal 8+, 9+, 10+ and 11+ .\n\nSee [the LiteSpeed Website](https://www.litespeedtech.com/products/cache-plugins/drupal-acceleration) for more information about LiteSpeed Cache for Drupal.\n\nSee [the full documentation](https://docs.litespeedtech.com/lscache/lscdrupal/) for more installation and configuration help.\n\nPrerequisites\n-------------\nThis version of LiteSpeed Cache requires Drupal 8 or later and LiteSpeed Web Server (LSWS) 5.2.3 or later.\n\nDownload\n-------------\nDownload the LiteSpeed Cache Module to your local computer from:\n\n    https://github.com/litespeedtech/lscache-drupal/archive/master.zip\n\n\n\u003cdetails\u003e\n  \u003csummary\u003eClick to show details\u003c/summary\u003e\n\n![Plugin Installation picture](\\/images\\/DrupalPluginInstall.gif)\n\u003c/details\u003e\n\n\nIf you use Composer to manage dependencies or using Drupal 11+, using the following command to download:\n\n```\ncomposer require litespeedtech/lscache-drupal\n```\n\nInstall Plugin\n-------------\nOnce you have downloaded the plugin, you can install by visiting:\n\n    http://example.com/admin/modules/install\n\nUsing the browse button, you can upload the plugin you just downloaded and start the installation. Once installed, enable the plugin by going to:\n\n\thttp://example.com/drupal/admin/modules\n\n\u003cdetails\u003e\n  \u003csummary\u003eClick to show details\u003c/summary\u003e\n\n![Plugin Installation picture](\\/images\\/DrupalPluginEnable.gif)\n\u003c/details\u003e\n\n* Use the search box to search for a module.\n* Check the checkbox next to **LiteSpeed Cache**.\n* Click **Install**.\n* Turn on LiteSpeed Cache in **Module Settings**.\n\nConfiguration\n-------------\n\nThis step is optional. Once the plugin is activated, your cache is already up and running, but on the configuration screen, you can customize few settings.\n\nGo to\n\n    http://example.com/admin/config/development/lscache\n  ![LiteSpeed Cache Drupal Plugin Configuration](https://docs.litespeedtech.com/imgs/lscache/lscdrupal/configure-lscache.png)\n\n* **Warmup this site**: Warm up the LSCache of the current Drupal site. It will also warm up **Private Cache for Logged In Users** if enabled.\n* **Clear this site**: Clears the LSCache of the current Drupal site. It will not clear the LSCache of other sites if you have multiple CMS sites running on the same virtual host.\n* **Public Cache TTL**: Amount of time LiteSpeed Web Server will save pages in the public cache.\n* **Private Cache TTL**: Amount of time LiteSpeed web server will save **ESI Block Contents** in the Private cache. OpenLiteSpeed does not support Private Cache.\n* **ESI Blocks Setting**: The list of ESI blocks on general logged in pages. The ESI Block name should be the same as the `div id` inside the HTML source. For example, in the following `div`  block, the ESI Block name would be `bar-administrator`:\n\t```\n\t\u003cdiv id=\"bar-administrator\"\u003e...\u003cdiv\u003e\n\t```\n* **Debug**: If turned on, LiteSpeed Cache will print the LSCache header to LSWS log files.\n\nCLI commands\n-------------\n\nCLI commands are only allowed to execute from the website host server.\n\n**Purge All Cache**\n\n```\ncurl -N \"http://example.com/lscpurgeall\"\n```\n\nor in `/drupal_root/vendor/bin` folder, execute `drush` command:\n\n```\n./drush lscache:purgeall example.com\n```\n\n**WarmUp whole website**\n\n```\ncurl -N \"http://example.com/lscwarmup\"\n```\n\nor in `/drupal_root/vendor/bin` folder, execute `drush` command:\n\n```\n./drush lscache:warmup example.com\n```\n\nCLI `warmup` command can only warm up public page caches. If you want to warm up **Private Cache for Logged In Users**, you need to use the Web GUI warmup in the LSCache admin panel.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flitespeedtech%2Flscache-drupal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flitespeedtech%2Flscache-drupal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flitespeedtech%2Flscache-drupal/lists"}