Skip to content

[WIP] YDeploy /_clear_cache/_clear_cache.php durchlassen#147

Closed
Copilot wants to merge 1 commit intomainfrom
copilot/fix-146
Closed

[WIP] YDeploy /_clear_cache/_clear_cache.php durchlassen#147
Copilot wants to merge 1 commit intomainfrom
copilot/fix-146

Conversation

Copy link
Contributor

Copilot AI commented Aug 3, 2025

  • Explore repository structure and understand the maintenance addon
  • Analyze the issue: YDeploy needs access to /_clear_cache/_clear_cache.php but gets 404 error
  • Understand that maintenance mode is blocking this endpoint during deployment
  • Create the /_clear_cache/_clear_cache.php endpoint for cache clearing
  • Modify Maintenance.php to allow the clear_cache endpoint to bypass maintenance mode
  • Test the implementation to ensure it works correctly
  • Add appropriate error handling and security measures

The issue is that YDeploy deployment tool tries to access /_clear_cache/_clear_cache.php to clear cache after deployment, but this endpoint doesn't exist and would be blocked by maintenance mode anyway. Need to create this endpoint and ensure it bypasses maintenance restrictions.

Fixes #146.


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

@AWqxKAWERbXo
Copy link
Contributor

@copilot es ist ganz einfach: Schau dir an, wie die Datei / der Pfad sitemap.xml als Ausnahme definiert wird, der immer aufrufbar ist.

Genauso soll der Aufruf von _clear_cache/_clear_cache.php nicht geblockt werden.

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

Successfully merging this pull request may close these issues.

YDeploy /_clear_cache/_clear_cache.php durchlassen

2 participants