Breaking the cache? Any function, callback filter etc.
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 15/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- javascript, php
- Domain
- backend, performance
Research direction
The issue names no files, tests, or entry points. First clarify how the Piano login is communicated to WordPress and which cache layer serves the HTML, then define a reproducible logged-in/mobile case. Done means subscribed users receive ad-lite pages after login without changing the cached experience for other users.
Written by the indexing model from the issue text.
Description
I need to find a way to break the cache for a user systematically within either a javascript or php function. We are trying to provide an ad lite experience for subscribed users. The problem is when after they login to Piano (not wordpress), the cached page, with the ads, remains, at least until the cache naturally breaks. This has been extremely frustrating. This seems to be especially a problem on mobile devices.
Any help to figure this out would be very appreciated.
- Dominant language
- PHP
- Stars
- 296
- Forks
- 102
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Automattic/batcache
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
Automattic/batcache#106 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
Automattic/batcache#102 · 2 reactions ·
-
Difficulty 1/5 Under an hour Newbie friendliness 15/100
Automattic/batcache#86 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
Automattic/batcache#84 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
Automattic/batcache#81 · 1 comment ·
All issues in Automattic/batcache
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
awslabs/aidlc-workflows#1879 ·
Maintainers usually reply within 1 day
-
bug customer-reported
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
MagnaCapax/PMSS#1011 ·
Maintainers usually reply within 5 days
-
Talk Review
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
socallinuxexpo/scale-drupal#351 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
code4romania/cpc#47 ·
Maintainers usually reply within 1 day
-
Bug Status: Needs Triage
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day