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

Purge doesn’t occur, but seems to trigger as confirmed by the log. #330

Open
marvinj920 opened this issue Mar 7, 2024 · 0 comments
Open

Comments

@marvinj920
Copy link

Purge doesn’t actually occur, but seems to trigger as confirmed by the log.

Settings / System info:

  • Page used for testing: https://www.cawp.org/wicweek2023/
  • Caching Method: nginx Fastcgi cache (requires external settings for nginx)
  • Purge Method: Using a GET request to PURGE/url (Default option)

Steps to reproduce:

  1. Make & save page change

  2. Refresh page while still logged in… page reflects updated change.

  3. Time stamp at bottom of html is accurate

  4. Refresh page while in incognito mode… page does NOT reflect update.

  5. Time stamp at bottom of html is NOT the same as logged in timestamp.

  6. Log reads as follows: (Note the ‘is currently not cached’ message.
    2024-03-07 16:31:33 | INFO | Function purge_post BEGIN === 2024-03-07 16:31:33 | INFO | Purging homepage https://www.cawp.org/ 2024-03-07 16:31:33 | INFO | - Purging URL | https://www.cawp.org/ 2024-03-07 16:31:33 | INFO | - - https://www.cawp.org/purge/ is currently not cached 2024-03-07 16:31:33 | INFO | - - https://www.cawp.org/purge/feed/ is currently not cached 2024-03-07 16:31:33 | INFO | - - https://www.cawp.org/purge/feed/atom/ is currently not cached 2024-03-07 16:31:33 | INFO | - - https://www.cawp.org/purge/feed/rdf/ is currently not cached 2024-03-07 16:31:33 | INFO | Purging page ( id 19724, blog id 1 ) 2024-03-07 16:31:33 | INFO | - Purging URL | https://www.cawp.org/wicweek2023/ 2024-03-07 16:31:33 | INFO | - - https://www.cawp.org/purge/wicweek2023/ is currently not cached 2024-03-07 16:31:33 | INFO | - - https://www.cawp.org/purge/wicweek2023/feed/ is currently not cached 2024-03-07 16:31:33 | INFO | - - https://www.cawp.org/purge/wicweek2023/feed/atom/ is currently not cached 2024-03-07 16:31:33 | INFO | - - https://www.cawp.org/purge/wicweek2023/feed/rdf/ is currently not cached 2024-03-07 16:31:33 | INFO | Purging date 2024-03-07 16:31:33 | INFO | - Purging URL | https://www.cawp.org/2023/ 2024-03-07 16:31:33 | INFO | - - https://www.cawp.org/purge/2023/ is currently not cached 2024-03-07 16:31:33 | INFO | - - https://www.cawp.org/purge/2023/feed/ is currently not cached 2024-03-07 16:31:33 | INFO | - - https://www.cawp.org/purge/2023/feed/atom/ is currently not cached 2024-03-07 16:31:33 | INFO | - - https://www.cawp.org/purge/2023/feed/rdf/ is currently not cached 2024-03-07 16:31:33 | INFO | - Purging URL | https://www.cawp.org/2023/03/ 2024-03-07 16:31:33 | INFO | - - https://www.cawp.org/purge/2023/03/ is currently not cached 2024-03-07 16:31:33 | INFO | - - https://www.cawp.org/purge/2023/03/feed/ is currently not cached 2024-03-07 16:31:33 | INFO | - - https://www.cawp.org/purge/2023/03/feed/atom/ is currently not cached 2024-03-07 16:31:33 | INFO | - - https://www.cawp.org/purge/2023/03/feed/rdf/ is currently not cached 2024-03-07 16:31:33 | INFO | - Purging URL | https://www.cawp.org/2023/03/01/ 2024-03-07 16:31:33 | INFO | - - https://www.cawp.org/purge/2023/03/01/ is currently not cached 2024-03-07 16:31:33 | INFO | - - https://www.cawp.org/purge/2023/03/01/feed/ is currently not cached 2024-03-07 16:31:33 | INFO | - - https://www.cawp.org/purge/2023/03/01/feed/atom/ is currently not cached 2024-03-07 16:31:33 | INFO | - - https://www.cawp.org/purge/2023/03/01/feed/rdf/ is currently not cached 2024-03-07 16:31:33 | INFO | Purging category archives 2024-03-07 16:31:33 | INFO | Purging author archive 2024-03-07 16:31:33 | INFO | - Purging URL | https://www.cawp.org/author/mikerobertson/ 2024-03-07 16:31:33 | INFO | - - https://www.cawp.org/purge/author/mikerobertson/ is currently not cached 2024-03-07 16:31:33 | INFO | - - https://www.cawp.org/purge/author/mikerobertson/feed/ is currently not cached 2024-03-07 16:31:33 | INFO | - - https://www.cawp.org/purge/author/mikerobertson/feed/atom/ is currently not cached 2024-03-07 16:31:33 | INFO | - - https://www.cawp.org/purge/author/mikerobertson/feed/rdf/ is currently not cached 2024-03-07 16:31:33 | INFO | Purging custom taxonomies related 2024-03-07 16:31:33 | INFO | Function purge_post END ^^^

  7. IF I visit https://www.cawp.org/purge/wicweek2023/ I get:
    Successful purge Key : httpsGETwww.cawp.org/wicweek2023/ Path: /var/nginx/cache/cawp/a/7eceb1e5d9e13199ac024debe01f1d0a nginx/1.25.3

  8. Afterward, refreshing the page still in incognito mode… the page DOES reflect the update. The timestamp is not the same as the previous one, but rather when I visited the ‘/purge/’ page.

ANY Information anyone can provide would be greatly appreciated!

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

No branches or pull requests

1 participant