plotly / dash

Data Apps & Dashboards for Python. No JavaScript Required.
https://plotly.com/dash
MIT License
21.2k stars 2.05k forks source link

Cache or eTag resources in /assets folder #1092

Open Marc-Andre-Rivet opened 4 years ago

Marc-Andre-Rivet commented 4 years ago

We currently eTag / cache resources included in the component repos but do not offer any cache mechanism for resources in /assets. The same mechanism could be applied:

chriddyp commented 4 years ago

@Marc-Andre-Rivet - when I load dash.plot.ly and look at the network console, it looks like assets are cached and have a 304 response. What am I missing?

image

chriddyp commented 4 years ago

Additionally, the component package JS files look like they aren't getting cached (all of those 200s)