litespeedtech / litespeedtech/lscache_wp

Tag with name to Redis

Open
#309 1 comment 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

Hi there,

Today we get a random tag in Redis. Would be nice if the domain name appear here instead.

Redis monitor:

1615198768.355990 [0 127.0.0.1:38136] "GET" "4c224posts.35751"
1615198768.356144 [0 127.0.0.1:38136] "GET" "4c224post_meta.35751"
1615198768.356306 [0 127.0.0.1:38136] "GET" "4c224post_meta.878"
1615198768.356411 [0 127.0.0.1:38136] "GET" "4c224posts.816"
1615198768.356547 [0 127.0.0.1:38136] "GET" "4c224post_meta.816"
1615198768.356693 [0 127.0.0.1:38136] "GET" "4c224post_meta.877"
1615198768.356787 [0 127.0.0.1:38136] "GET" "4c224posts.823"

Change the "4c224posts.35751" to "domainname.se::posts" or a custom tag in admin.

/Regards, Micke

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 by locating the Redis cache-key generation and any existing WordPress admin settings, then compare the current keys with the Redis monitor example. The change is complete when keys use the domain name or a configured custom tag instead of the random prefix, with the chosen behavior verified in Redis.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, redis, wordpress
Domain
backend, databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.