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

[feature request] improved asset bundle handling #61115

Open
b881659b opened this issue Nov 2, 2020 · 0 comments
Open

[feature request] improved asset bundle handling #61115

b881659b opened this issue Nov 2, 2020 · 0 comments
Labels
Framework General frontend/backend framework issues

Comments

@b881659b
Copy link

b881659b commented Nov 2, 2020

Impacted versions: v13+ probably older versions as well

Current behavior:

Could you please improve the handling of asset bundles. There are a number of issues with the current approach:

Expected behavior:

I am not sure to what degree changing the process would affect third-party and community apps but if bundling
is required at all (instead of relying on /*/static), it may be better to:

  • regenerate bundles as a cron job unless specific triggers can be identified
  • do not retire existing bundles, at least not immediately, loading an 'old' version should not result in 404 as happens following the regeneration documented in Regenerate assets bundles can bork odoo #51077
  • ideally, reference a fixed path and either return the 'latest' bundle with ETag or 30x redirects to the latest version
  • a fixed path that is well documented to work with proxies (or public caches in general) would be great as long as it is certain that these bundles never include confidential elements

Thank you for your consideration.

@rdeodoo rdeodoo added the Framework General frontend/backend framework issues label Dec 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Framework General frontend/backend framework issues
Projects
None yet
Development

No branches or pull requests

2 participants