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

Blueprints: Invalidate cached WordPress plugins #878

Open
1 task
adamziel opened this issue Dec 18, 2023 · 0 comments
Open
1 task

Blueprints: Invalidate cached WordPress plugins #878

adamziel opened this issue Dec 18, 2023 · 0 comments
Labels
[Package][@wp-playground] Blueprints [Type] Bug An existing feature does not function as intended
Milestone

Comments

@adamziel
Copy link
Collaborator

adamziel commented Dec 18, 2023

A Blueprint that requests a plugin, such as https://downloads.wordpress.org/plugin/fewer-tags.latest-stable.zip, will occasionally download an outdated version. This happens when that URL is already cached in the browser. Since downloads.wordpress.org doesn't eagerly provide caching affordances such as ETag, let's send some caching headers from the Playground. This could be as easy as Cache-Control: no-cache, or more fancy like If-Modified-Since.

Done is

  • A blueprint that installs the latest plugin version actually downloads a fresh version after a plugin update
@adamziel adamziel added [Type] Bug An existing feature does not function as intended [Package][@wp-playground] Blueprints labels Dec 18, 2023
@adamziel adamziel added this to the Zero Crashes milestone Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Package][@wp-playground] Blueprints [Type] Bug An existing feature does not function as intended
1 participant