Page MenuHomePhorge

Modifying Celerity postprocessors - is there a cache I should flush?
Closed, ResolvedPublic

Asked by sirocyl on Mon, Sep 30, 01:11.

Details

I'm making a custom Celerity color scheme as a postprocessor, a copy of src/applications/celerity/postprocessor/CelerityDarkModePostprocessor.php.

I find myself needing to change the value returned by getPostprocessorKey() in order to see any changes land, as it seems if I use a key I used once before, it's giving me an older version of the scheme, likely from cache.

I tried ./bin/cache purge --all to no avail, though, and I'm having a hard time finding where on disk or in the DB the cached CSS would live, before being packaged to e.g., https://[...]/res/newdarkX/phabricator/0e12cb2d/core.pkg.css.

Answers

sirocyl
Updated 11 Days Ago

Enabling developer mode fixed the underlying problem (the change wouldn't take unless I renamed it, and old versions would persist).

Still curious where the cache is hiding in this case (Zend opcache? APCu?) but the problem is solved.

New Answer

Answer

This question has been marked as closed, but you can still leave a new answer.