#Caching
9 notas · última:
Performance Principles
The page frames performance as reducing unnecessary work, shortening paths, caching repeated computations, and moving loading earlier with prefetching or preloading, including mobile-specific timing.
Proxy Design Pattern in C# - Code Maze
The Proxy pattern adds a wrapper around a real object to control access and add logic without changing the original service. The article shows a caching proxy in C# and mentions logging, protection, remote, virtual and selection proxies.
Caching things every Programmer must know
The article explains what caching is, when it matters, its benefits, cache memory levels, common cache types, distributed caching, hit and miss, cache strategies, and eviction policies.
Caching in development environment in Rails 5
Rails 5 adds `rails dev:cache` to toggle development caching by creating or removing `tmp/caching-dev.txt`, so you no longer need to edit `development.rb` and restart manually.
Prevent information leaking in Rails
Rails sets a browser cache policy that still leaves pages on disk. The post says this can expose sensitive content after logout and suggests overriding Cache-Control for authenticated pages.
ServiceWorker: Revolution of the Web Platform
The article argues that ServiceWorker is a major web-platform addition, enabling request interception, offline access, push notifications, background sync, and finer caching control.
Secrets to Speedy Ruby Apps On Heroku
The article explains how to speed up Ruby and Rails apps on Heroku by managing memory, tuning worker count, reducing N+1 queries, caching more, and using CDN and frontend performance checks.
Caching Strategies for Rails
The page lays out when to use page, action, fragment, and low-level caching in Rails on Heroku, and recommends memcached, Varnish, and Rails.cache for different kinds of slow content.
Everyone should be using low level caching in Rails
The post argues that low level caching in Rails is easy to start using and helps reduce database queries and API calls. It shows Rails.cache.fetch, cache key invalidation, and layered caching in practice.
