Skip to content

Relocate cache directories #12869

Description

@bmcutler

Describe the bug

See PR [Bugfix:System] fix twig cache directory #12867

This PR moves the twig cache, but there are several other directories that likely need to be moved as well.
(They may not be failing as catastrophically as twig, but perhaps the performance benefit of caching has been lost.)

% ls /usr/local/submitty/site/cache/
access_control  doctrine  doctrine-proxy  lang  routes  twig
% 

IMPORTANT

Any PR to resolve or partially resolve this issue must include instructions on how to test the change and include documentation confirming that the new cached directories demonstrate the expected performance improvements of successful caching. It might be appropriate to make multiple PRs, one for each module cached.

Adding testing to prevent future errors with these caches is desirable, but may not be feasible.

Also, note that this should not be solved by just adding a symbolic link, which can introduce security problems and may not actually work with the webserver.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions