Project

General

Profile

Bug #12830

Plugin can't use "with-cached-resources" for js/css

Added by François ARMAND almost 2 years ago. Updated over 1 year ago.

Status:
Rejected
Priority:
N/A
Category:
-
Target version:
Pull Request:
Severity:
User visibility:
Effort required:
Priority:
0

Description

Right now, plugins can't use the "with-cached-resources" directive that allows to versionned & cache plugin resources.

This is needed to avoid the case where the plugin changed css/js and the user updated it.

We also need to be more specific for plugin resources than just rudder version because the plugin can change its resources with its version.

So we propose to:

- update with-cached-resource to special case plugin resource rewrite
- we know we are dealing with a plugin resources because the url looks like "toserver/plugin-short-id".
- in that case, we also add plugin version with a pending "?plugin-version". That will allows to invalidate browser cache WITHOUT needing to modify the caching scheme on rudder side.

It may need a breaking in plugin management code so that we have a easy way to find back plugin information based on their id (so -> Rudder 4.3 only)


Related issues

Is duplicate of API Authorizations - Bug #12808: Rudder 4.3 missing important features for plugins, especially ACL oneReleasedFrançois ARMANDActions
#1

Updated by François ARMAND almost 2 years ago

  • Has duplicate Bug #12808: Rudder 4.3 missing important features for plugins, especially ACL one added
#2

Updated by François ARMAND almost 2 years ago

  • Status changed from In progress to Rejected

CLosing (part of #12808)

#3

Updated by François ARMAND almost 2 years ago

  • Has duplicate deleted (Bug #12808: Rudder 4.3 missing important features for plugins, especially ACL one)
#4

Updated by François ARMAND almost 2 years ago

  • Is duplicate of Bug #12808: Rudder 4.3 missing important features for plugins, especially ACL one added
#5

Updated by François ARMAND almost 2 years ago

  • Status changed from Rejected to New
#6

Updated by François ARMAND almost 2 years ago

  • Status changed from New to Rejected
#7

Updated by Vincent MEMBRÉ over 1 year ago

  • Project changed from Rudder to Rudder plugins
  • Category deleted (Plugins integration)
  • Target version changed from 4.3.3 to 4.3

Also available in: Atom PDF