Skip to content

[NFR]: Runtime command: cache:clear #22

Description

@niden

Goal: the runtime command that #10 does not ship. #10 ships serve only.

After 1.0 (owner, 2026-11-27). optimize is removed from the backlog: it has no defined job in a Phalcon project. It comes back when someone finds a real job for it.

  • cache:clear: needs a design

Background

Command devtools v4 artisan bin/console
cache:clear - cache:clear cache:clear

devtools v4 does not have it.

cache:clear

It needs the project container (Project\Bootstrap). Design it when the runtime concerns it touches are clear.

Open questions:

  • Which caches does it clear (for example the compiled Volt views, the models metadata, the cache service of the application), and how does crest find them in the project?

Rules

  • Crest does not cache project data. If a command is slow, it reads less. It does not remember more. Thus cache:clear clears the caches of the project only. Crest has no cache of its own.
  • It uses the same --help, alias and error conventions as the other commands.

Done when

Activity

  1. self-assigned this
    on Sep 25, 2026
  2. added
    enhancement
    on Sep 25, 2026
  3. added theissue type on Sep 25, 2026
  4. moved this from Backlog to Active Sprint in Phalcon v5on Oct 17, 2026
  5. changed the title [-][NFR]: Runtime commands: cache:clear and optimize[/-] [+][NFR]: Runtime command: cache:clear[/+] on Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Projects

  • Status
    Active Sprint

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions