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

Add vers nums to certain URLs #3

Merged
merged 3 commits into from
Oct 16, 2022
Merged

Conversation

skieffer
Copy link
Member

Addresses the need for cache busting for pfsc-pdf, as well as for pfsc-server's native static files, by adding version numbers to the URLs for these resources.

Breaking changes

pfsc-manage: the MCA deployment will have to adapt to the new URLs for the native static assets

Other changes

The URL for pdfjs is now a part of the served state. pfsc-ise should now use this to load viewer.html in pdf panels.

We now add to the served state the URL from which (our fork of ) pdfjs should be loaded,
and this includes a version number, based on a new config var, `PDFJS_VERSION`.
The pfsc-server project defines a few "native" static files, under its `static` dir.
(A lot of other static files are linked into a working deployment, from other projects.)
We now include pfsc-server's version number in the URLs for these native static files.
@skieffer skieffer added the breaking Includes breaking changes requiring a major version increment label Oct 16, 2022
This PR includes breaking changes, so should signal a "major" increment (minor place for now, since major is zero).
@skieffer skieffer merged commit aafaab9 into proofscape:main Oct 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Includes breaking changes requiring a major version increment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant