Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete Cache button on Admin Bar not working #25594

Closed
galbaras opened this issue Jun 25, 2015 · 8 comments
Closed

Delete Cache button on Admin Bar not working #25594

galbaras opened this issue Jun 25, 2015 · 8 comments
Labels
[Plugin] Super Cache A fast caching plugin for WordPress. [Status] Needs Author Reply We would need you to make some changes or provide some more details about your PR. Thank you! [Super Cache] UI Admin Page settings screen for the Super Cache Plugin

Comments

@galbaras
Copy link

I have WP Super Cache installed on a good number of sites and it seems that clicking "delete cache" in the admin bar while on a page has no effect. There are some mentions of this issue on the plugin's support forum on wordpress.org, including some very old ones, but for me, it's a new issue.

If it makes a difference, I use iThemes Security (with .htaccess and wp-config.php made read-only), and my sites are on a LiteSpeed server, not Apache.

@kraftbj
Copy link
Contributor

kraftbj commented Jun 25, 2015

I don't have a LiteSpeed server to test that. To confirm, Delete Cache on a single page should only delete the cache for that page, not the entire cache. You're having it fail to delete the single page cache?

@galbaras
Copy link
Author

Confirmed. Single page cache not deleted. Here's the sequence of events:

  1. In an incognito window, visit the page and check cache timestamp
  2. In a logged in window, click "delete cache" in the admin bar
  3. Back in the the incognito window, open a new tab with code inspector open to disable browser caching, visit the page again and check cache timestap

I've just done this and the two timestamps are identical.

I thought this might be related to the setting "Don’t cache pages for known users", so I disabled it. This made the "delete cache" disappear from the admin bar. It also refreshed the page's cache when I reloaded the page.

When I turned "Don’t cache pages for known users" back on and deleted the cached, the timestamp remained unchanged.

The option "Make known users anonymous" serves a page without the footer comment and timestamp in both windows, after refreshing the cache (I know because the timestamp was different after I disabled it and checked again).

I hope this is helpful..

@galbaras
Copy link
Author

Nothing?

@marcomarsala
Copy link

Over 800 sites and the "Delete cache" button in the WP Admin top bar never shown due to a bug.

@artursopelnik
Copy link

+1

@kraftbj kraftbj added the [Plugin] Super Cache A fast caching plugin for WordPress. label Aug 12, 2022
@kraftbj kraftbj transferred this issue from Automattic/wp-super-cache Aug 12, 2022
@jeherve
Copy link
Member

jeherve commented Aug 15, 2022

Do you still experience issues with this?

Thank you!

@jeherve jeherve added [Status] Needs Author Reply We would need you to make some changes or provide some more details about your PR. Thank you! [Super Cache] UI Admin Page settings screen for the Super Cache Plugin labels Aug 15, 2022
@galbaras
Copy link
Author

Honestly, I don't use WP Super Cache anymore, so couldn't tell you. @marcomarsala or @artursopelnik ?

Why is this in the Jetpack forum?

@jeherve
Copy link
Member

jeherve commented Aug 15, 2022

Honestly, I don't use WP Super Cache anymore, so couldn't tell you

👍

Why is this in the Jetpack forum?

We've recently moved WP Super Cache to the Jetpack monorepo, where it can live with other Automattic plugins, and benefit from the tooling we've developed in this monorepo to automate things like plugin updates, issue management, ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Plugin] Super Cache A fast caching plugin for WordPress. [Status] Needs Author Reply We would need you to make some changes or provide some more details about your PR. Thank you! [Super Cache] UI Admin Page settings screen for the Super Cache Plugin
Projects
None yet
Development

No branches or pull requests

5 participants