ctf0 / Laravel-Media-Manager

A "Vuejs & Laravel" Media Manager With Tons of Features
MIT License
829 stars 179 forks source link

Which Caching Mechanism To Include #29

Closed ctf0 closed 6 years ago

ctf0 commented 6 years ago

from v2.4.0 the manager started to use caching on the front-side using IndexedDB

but i found a way to also cache it on the back-side using flysystem

Quick Comparison

Front Back
package size 14.35kb 84kb
cache clearing with a button (browser level) manually (server level)
cache invalidation easy hard
access speed user dependent (global) very fast


Cast Your Vote



Update

as it seems more users are in favor of front cacheing as-well as its also easier for me to reason with the invalidation, as of v3.0.0 a new option for cache invalidation has been added which makes it far easier to work with instead of the backend solution.

PS in laravel v5.6 the backend cacheing can be enabled from the disk config but there are some limitations for invalidation