Open LucasKuhn opened 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
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