Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • D Drupal
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 53
    • Issues 53
    • List
    • Boards
    • Service Desk
    • Milestones
  • Packages and registries
    • Packages and registries
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • DevelopmentDevelopment
  • Drupal
  • Issues
  • #129

When creating a D8 private file system e.g. /sites/default/private -> CiviCRM overrides location for templates_c specified in civicrm.settings.php file

Is this intentional? And is it necessary? I first saw this on my Pantheon test install and am now seeing it on one of Alan's hosted sites as well. Storing templates_c in the private file system [even though the civicrm.settings.php file still has the non-public files location] results in a slow page load.

This only happens if you put your private files dir in /sites/default/

On Alan's hosting we can move the private/files to the same level as web/

[$settings['file_private_path'] = $app_root . '/../private/files';

  • so CiviCRM keeps using /sites/default/files for templates_c - but on Pantheon [and likely other hosting] you may not have access to create a dir at that level.

End result is that it creates the impression that CiviCRM on D8 is very slow.

@DaveD @seamuslee @jackrabbithanna @bgm - any ideas as to why/history/intentional?

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking