rtCamp / nginx-helper

Nginx Helper for WordPress caching, permalinks & efficient file handling in multisite
https://wordpress.org/plugins/nginx-helper/
229 stars 121 forks source link

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

Open marvinj920 opened 6 months ago

marvinj920 commented 6 months ago

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

Settings / System info:

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!