LucasKuhn / recomendo

0 stars 1 forks source link

Images flicker on turbolinks reload #63

Open LucasKuhn opened 3 years ago

LucasKuhn commented 3 years ago

Can be reproduced when disabling cache locally: https://github.com/turbolinks/turbolinks/issues/494 And a bit finicky on safari: https://github.com/GoogleChrome/workbox/issues/2540

Either way, adds cache for AWS: https://stackoverflow.com/questions/55724341/where-do-i-set-cache-information-for-my-images https://devcenter.heroku.com/articles/increasing-application-performance-with-http-cache-headers

LucasKuhn commented 3 years ago

Not solved! Seems to be a Safari + Stimulus issue (needs confirmation if the behavior is OK without stimulus) https://discourse.stimulusjs.org/t/stimulus-turbolinks-and-caching/1218 https://github.com/turbolinks/turbolinks/issues/333 https://github.com/stimulusjs/stimulus/issues/86