Create Clear CloudFlare Cache Button #41
Labels
No labels
automated
code-quality
component: admin dashboard
component: backend
component: billing
component: content management
component: faqs
component: game genres
component: game lists
component: game reviews
component: game search
component: games
component: internal notifications
component: platforms
component: security
component: tests
component: user api
component: user badges
component: user blogs
component: user consoles
component: user favorites
component: user friends
component: user notifications
component: user profiles
component: user site notifications
component: user wishlists
component: web design
dependencies
php
priority
high
priority
low
priority
medium
security-hotspot
source: codex
source: sonarqube
status
awaiting feedback
status
backlog
status
done
status
in progress
status
in queue
status
in review
status
needs codex review
status
needs investigation
status
wontfix
type: bug
type: documentation
type: feature
type: improvement
type: regression
type: task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MyVideoGameList/myvideogamelist.com#41
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
DB Administrators can upload new game boxart from the admin edit game page, but Cloudflare may continue serving the old cached image after the S3 object changes. Staff need a safe admin action that purges the relevant public boxart URL from Cloudflare so they can verify the new image without waiting for cache expiration.
Cloudflare supports purging cached content by URL through its Cache API (
POST /client/v4/zones/{zone_id}/purge_cachewith afilespayload), so the research portion of the original issue is confirmed. The current Laravel checkout already builds game boxart URLs fromconfig('media.public_assets_url')plusconfig('media.games.boxart.path'), and the admin game edit page displays the current boxart preview next to the boxart upload field. This issue tracks adding the Cloudflare purge integration and a clear, authorized button on that edit page.Scope
Acceptance Criteria
admin.games.editfor a game with boxart.Test Coverage Required
filespayload.vendor/bin/pint --dirty --format agentbefore closing the issue.Progress Checklist
assets/boxartMVGL_PUBLIC_ASSETS_URLandMVGL_GAME_BOXART_PATHjimmyb referenced this issue2024-01-14 14:50:11 -06:00