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

[5.2] Jooa11y plugin and schemaorg cache + hits conflicts #44748

Open
pe7er opened this issue Jan 18, 2025 · 0 comments
Open

[5.2] Jooa11y plugin and schemaorg cache + hits conflicts #44748

pe7er opened this issue Jan 18, 2025 · 0 comments

Comments

@pe7er
Copy link
Contributor

pe7er commented Jan 18, 2025

When testing the PR #41956 I noticed another issue with the Page Cache Plugin and Preview + Accessibility Check in Article Edit.

Steps to reproduce the issue

  • Enable the System - Page Cache Plugin (with browser cache off)
  • Create a new Article
  • Create a Menu Items of type "Single Article" and link to the new Article
  • In "Maintenance: Clear Cache" /administrator/index.php?option=com_cache&view=cache clear all Cache
  • Check "Maintenance: Clear Cache" for number of files
  • Edit the Article
  • Click on "Preview" and note the "Hits"
  • Check "Maintenance: Clear Cache" for number of files
  • Click on "Accessibility Check" and note the "Hits"
  • Check "Maintenance: Clear Cache" for number of files

"Maintenance: Clear Cache" before Preview/Accessibility Check:

Image

Preview/Accessibility Check:

Image

Expected result

The Preview / Accessibility Check should not re-cache an already cached article.

Actual result

Preview

Image

Cache after Preview

The Preview has created a cache file:
Now 2 Page and 2 Schemaorg cache files.

Image

Accessibility Check

The Hit counter increased by 1 (from 16 to 17)

Image

Cache after Accessibility Check

The Accessibility Check has created another cache file:
Now 3 Page and 3 Schemaorg cache files.

Image

System information (as much as possible)

Additional comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants