Skip to content

Commit 3295cdb

Browse files
committed
Debug Varnish cache
1 parent 52fe095 commit 3295cdb

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

http-tests/admin/packages/install-package-stylesheet.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ curl -k -w "%{http_code}\n" -o /dev/null -f -s \
1919
"${ADMIN_BASE_URL}packages/install" \
2020
| grep -q "$STATUS_SEE_OTHER"
2121

22+
# Purge cache after install to clear any cached 404 responses
23+
purge_cache "$END_USER_VARNISH_SERVICE"
24+
purge_cache "$ADMIN_VARNISH_SERVICE"
25+
purge_cache "$FRONTEND_VARNISH_SERVICE"
26+
2227
# Wait for package installation to complete (poll for stylesheet availability)
2328
elapsed=0
2429
while [ $(echo "$elapsed < 30" | bc) -eq 1 ]; do

0 commit comments

Comments
 (0)