I’m also curius since this bug is there for ages.
And also still exists in 1.6.3.
There are two buttons:
- Admin dashboard – Delete Super Cache cached files (opens in new window). It removes entire cache.
- “Delete Cache” in admin bar on posts, pages, archives, … – Delete cache of the current page. It removes cache for specific page without removing cache of related pages.
There are a lot of deprecated code and I’ve created new PR #589 which will fix all major issues.
It would be great if you could test this PR. I’d like to see your comments there and I’ll try to resolve all issues related to admin bar.
I means this
https://drive.google.com/open?id=1JkdchXmclCmXeVwEEnQAdnPPrLQ7fWLo
didn’t work before and still doesn’t work.
-
This reply was modified 5 years, 8 months ago by massimod.
My concern is exactly the same as MassimoD — when you are in the Dashboard (has nothing to do with a Page you are on), that “DELETE CACHE” button does NOTHING. Can’t it please be fixed, so when you click that button, it clears the entire cache?
Or, if your intention is for the Admin Bar “DELETE CACHE” button to ONLY work on certain pages, posts, etc., then REMOVE IT from the admin bar when you are at the Dashboard, on a Plugin page, or Theme page, etc., or anywhere where it isn’t possible to delete the cache of a page/post, etc. Obviously, this is super confusing.
– Scott
Please read PR #589 if you want to test these changes.
Regarding that both buttons has same name, then it’s confusing. I think that we need both button because it’s very useful to quickly purge cache for only current page or quickly purge entire cache.
I’m thinking to add menu instead simple button with more options, but it should be part of some future PR. I’ll think over and I’ll create new issue on github.
@massimod It should work – it’s frontend page (for current page only). I’ve found new issue if URL contains query string (it doesn’t work) and subdirectory installation (#589 fixes it). Could you send more info about WP installation and URL? Did you test #589?