Dynamic HTML sidebar not cached

Open
#54,389 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
1-2 days
Newbie friendliness
12/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Active
Tech stack
php, wordpress
Domain
performance

Research direction

The report asks how to exclude a dynamically generated sidebar from page caching, and it names no file, test or entry point in this repository. It reads as a support question about WP Super Cache or LiteSpeed rather than a defined code change. Before any work, a maintainer would need to confirm whether Jetpack's own caching code is involved and what behaviour is wanted. Done would mean a clear, agreed scope, not a patch.

Written by the indexing model from the issue text.

Description

[Plugin] Super Cache New Feature
Impacted plugin

None / Other

What

Not cache a part of a dynamic HTML (PHP) page

How

Is there a way within WP Super Cache to assign/identify a part of a page (sidebar in this case) that is not to be cached? Our sidebar is dynamically created and refreshed with dynamic content whenever a new page is requested or a page is refreshed. The sidebar presents predetermined advertising and text which is rotated in a random way.

While I don't think this is possible, possibly with LiteSpeed, it would be very useful.

Thank you.

Dominant language
PHP
Stars
1.9k
Forks
913
Avg merge
1d 18h
Merged PRs (30d)
809

Getting set up

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/jetpack

All issues in Automattic/jetpack

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.