Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Breaking the cache? Any function, callback filter etc.

Open
#97 0 comments 0 reactions 0 assignees View on GitHub

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

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

  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.

More from Automattic/batcache

All issues in Automattic/batcache

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.