Top "Caching" questions

A cache is a mechanism for temporarily storing (caching) data locally in order to reduce access time to data stored far away.

Aligning to cache line and knowing the cache line size

To prevent false sharing, I want to align each element of an array to a cache line. So first I …

c linux caching computer-architecture memory-alignment
Can I force .htaccess to refresh?

We are moving a site from one CMS to another. The .htaccess file has been changed and it needs to …

.htaccess caching browser-cache cache-control
High performance serialization: Java vs Google Protocol Buffers vs ...?

For some caching I'm thinking of doing for an upcoming project, I've been thinking about Java serialization. Namely, should it …

java serialization caching protocol-buffers
How does one write code that best utilizes the CPU cache to improve performance?

This could sound like a subjective question, but what I am looking for are specific instances, which you could have …

caching performance cpu-cache
Best way to cache images on ios app?

Shortly, I have an NSDictionary with urls for images that I need to show in my UITableView. Each cell has …

ios image uitableview caching load
How to clear IE's favicon cache?

i have a favorite icon defined for my web-site: <link rel="shortcut icon" type="image/x-icon" href="favicon.ico"&…

internet-explorer caching favicon
How to prevent browser page caching in Rails

Ubuntu -> Apache -> Phusion Passenger -> Rails 2.3 The main part of my site reacts to your …

ruby-on-rails ruby apache caching http-headers
How do I disable Laravel view cache?

I have an exception in one of my views. However, instead of telling me the name of the view so …

caching laravel blade
Invalidate cache in Picasso

I load an image from disk using Picasso, e.g., Picasso.with(ctx).load(new File("/path/to/image")).into(…

android caching image-loading picasso
Is it possible to prevent an NSURLRequest from caching data or remove cached data following a request?

On iPhone, I perform a HTTP request using NSURLRequest for a chunk of data. Object allocation spikes and I assign …

cocoa-touch caching