Sha256: d80437401e52b6a2dd3acfc8093ae2e4da1f153eed25d443d67a7220da94588f
Contents?: true
Size: 981 Bytes
Versions: 2
Compression:
Stored size: 981 Bytes
Contents
= within_admin_layout(title: "Cache") do .panel p | The cache (backed by Redis) stores some queries and html fragments in order to make | the rendering of pages faster and less resource intensive. Cached elements are invalidated | when the underlying database data changes (but it only examines the updated_at column and | count of records, in order to catch edits, inserts and deletions) or the html template | changes (changes are only reflected after am app restart in this latter case). p | There are certain cases where you might need to clear the cache: ol li | You have changed the underlying database data directly in SQL without also updating the | updated_at column. = link_to "Clear the Application Cache", admin_cache_path, method: :delete, data: { confirm: "Are you sure you want to clear the application cache?\n" }, class: "button alert"
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
renalware-core-2.0.0.pre.rc13 | app/views/renalware/admin/cache/show.html.slim |
renalware-core-2.0.0.pre.rc11 | app/views/renalware/admin/cache/show.html.slim |