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

Support for serving source files and other attachments from a CDN #1894

Merged
merged 10 commits into from
Jul 6, 2024

Commits on Jul 5, 2024

  1. save files must use a nonce to be unique

    this makes it easier to cache/clear caches, knowing that the filename
    will never be re-used
    longhotsummer committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    7cd90e7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a2e0cff View commit details
    Browse the repository at this point in the history
  3. set long-lived cache on media

    this is safe because there's a nonce on filenames, so they'll never be
    re-used
    longhotsummer committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    8a6e59b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8f1da8e View commit details
    Browse the repository at this point in the history
  5. 5 day cache

    longhotsummer committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    67832e2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7655bcb View commit details
    Browse the repository at this point in the history
  7. return source docs as attachments

    this means the browser downloads them immediately and honours the
    filename, rather than opening them in a new tab
    longhotsummer committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    3df4b19 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    2f6a695 View commit details
    Browse the repository at this point in the history
  9. log errors at least

    longhotsummer committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    faa5985 View commit details
    Browse the repository at this point in the history
  10. fix tests

    longhotsummer committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    76128ec View commit details
    Browse the repository at this point in the history