vinistock / sail

Sail is a lightweight Rails engine that brings an admin panel for managing configuration settings on a live Rails app
Other
507 stars 32 forks source link

Avoid manually expiring cache fragments #427

Closed vinistock closed 2 years ago

vinistock commented 3 years ago

Closes #426

Instead of manually expiring the cache fragments every 500 usages, turn the usages into a cache index that can be used in the fragment's cache key, allowing Rails to handle everything on its own.

lavilet commented 2 years ago

Hey @vinistock , would it be possible to merge this one? 🙏