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

Plugin not serving js files best practice way #33

Open
tessa-fabry opened this issue Sep 2, 2021 · 0 comments
Open

Plugin not serving js files best practice way #33

tessa-fabry opened this issue Sep 2, 2021 · 0 comments

Comments

@tessa-fabry
Copy link
Contributor

tessa-fabry commented Sep 2, 2021

This core moodle bug is causing js files to be served directly https://tracker.moodle.org/browse/MDL-72461

Files should generally never be served directly by apache or nginx, they should go through one of the moodle file serving apis so that they are correctly served with the right caching headers to make them work with intermediate proxies and CDN's

If nginx is set up the best practice way this plugin will break. This tracker details how that should be set up https://tracker.moodle.org/browse/MDL-69333

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

1 participant