8000 DOC: add cache-buster query string to css path by tacaswell · Pull Request #15553 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

DOC: add cache-buster query string to css path #15553

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

Merged
merged 1 commit into from
Oct 28, 2019

Conversation

tacaswell
Copy link
Member

This is to make sure when we re-build the docs users get the
new css rather than using a cached version.

The query string is enough to make (most) browsers and cloudflare
treat the get request as a new file.

See the first suggestion at https://css-tricks.com/strategies-for-cache-busting-css/

This is to make sure when we re-build the docs users get the
new css rather than using a cached version.

The query string is enough to make (most) browsers and cloudflare
treat the get request as a new file.
@tacaswell tacaswell added this to the v3.1-doc milestone Oct 28, 2019
@tacaswell
Copy link
Member Author

I manually put a fix like this into the live site (just '?v1' for expediency).

@tacaswell
Copy link
Member Author

and my attempts to get azure to re-run gracefully have failed, going to power cycle.

https://circleci.com/gh/matplotlib/matplotlib/26160/artifacts/0//home/circleci/project/doc/build/html/index.html

@tacaswell tacaswell closed this Oct 28, 2019
@tacaswell tacaswell reopened this Oct 28, 2019
@timhoffm timhoffm merged commit b7e413e into matplotlib:master Oct 28, 2019
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull request Oct 28, 2019
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull request Oct 28, 2019
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull request Oct 28, 2019
timhoffm added a commit that referenced this pull request Oct 29, 2019
…553-on-v3.1.x

Backport PR #15553 on branch v3.1.x (DOC: add cache-buster query string to css path)
timhoffm added a commit that referenced this pull request Oct 29, 2019
< 8A12 div class="Details-content--hidden mt-2">
…553-on-v3.1.1-doc

Backport PR #15553 on branch v3.1.1-doc (DOC: add cache-buster query string to css path)
timhoffm added a commit that referenced this pull request Oct 29, 2019
…553-on-v3.2.x

Backport PR #15553 on branch v3.2.x (DOC: add cache-buster query string to css path)
@tacaswell tacaswell deleted the doc_cache_buster branch January 20, 2020 00:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0