Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drupal preset - cache public static files for authenticated users. #27

Open
drasgardian opened this issue Oct 20, 2020 · 1 comment
Open

Comments

@drasgardian
Copy link

The changes in #24 have disabled caching of all static files for authenticated users.

While it is good that Drupal private files (/system/files/*) should not be cached for authenticated users, there are lots of other static files that should still be safe candidates to cache. e.g. public files, css, js, images included in theme or module folders etc.

@esolitos
Copy link
Contributor

I believe there's no need to cache such files in varnish. If you use nginx you can configure it to keep a "open files cache", which is as performant as Varnish in delivering static files.

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

No branches or pull requests

2 participants