litespeedtech / litespeedtech/lscache_wp

[Improvement] Add support for automatic whitelisting with Cloudflare's firewall

Open
#147 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
257
Forks
123
PR merge metrics
No merged PRs in 30d

Description

Although it was mentioned in the wiki, I found out the hard way why its needed to whitelist the LSCache IPs & such with Cloudflare for both image optimization & critical CSS generation where it would be nice to just avoid having to manually enter over a dozen IP addresses & then figure out what to do with just ccss.api.litespeedtech.com in the Cloudflare Firewall configuration options.

So could someone add on to the Cloudflare CDN integration options to toggle whitelisting in the firewall & have it on by default so new users would have a better experience? I spent way too long wondering why the image optimization would only work sometimes & why my critical CSS code was borked.

Thanks for such a great product though!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the existing Cloudflare CDN integration options described in the linked documentation and trace how those settings are applied. The work is complete when users can toggle firewall whitelisting, it is enabled by default for new users, and the required LiteSpeed IP addresses and hostname are handled automatically.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
cloud, security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.