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.

Disable cache for some images

I generate some images using a PHP lib. Sometimes the browser does not load the new generated file. How can …

html image caching
What is the difference between HTTP status code 200 (cache) vs status code 304?

I'm using the Google "Page Speed" plug-in for Firefox to access my web site. Some of the components on my …

http caching httpwebrequest http-status-codes cache-control
What is causing "Unable to allocate memory for pool" in PHP?

I've occasionally run up against a server's memory allocation limit, particularly with a bloated application like Wordpress, but never encountered "…

php caching memory apc
Tomcat 8 throwing - org.apache.catalina.webresources.Cache.getResource Unable to add the resource

I have just upgraded Tomcat from version 7.0.52 to 8.0.14. I am getting this for lots of static image files: org.apache.…

caching resources tomcat8
When saving, how can you check if a field has changed?

In my model I have : class Alias(MyBaseModel): remote_image = models.URLField(max_length=500, null=True, help_text="A URL …

django image caching django-models
Stop jQuery .load response from being cached

I have the following code making a GET request on a URL: $('#searchButton').click(function() { $('#inquiry').load('/…

jquery ajax caching
htaccess - How to force the client's browser to clear the cache?

For my site I have the following htaccess rules: # BEGIN Gzip <IfModule mod_deflate.c> AddOutputFilterByType DEFLATE text/…

.htaccess caching gzip
Write-back vs Write-Through caching?

My understanding is that the main difference between the two methods is that in "write-through" method data is written to …

caching cpu-architecture cpu-cache
What is a "cache-friendly" code?

What is the difference between "cache unfriendly code" and the "cache friendly" code? How can I make sure I write …

c++ performance caching memory cpu-cache
Cache an HTTP 'Get' service response in AngularJS?

I want to be able to create a custom AngularJS service that makes an HTTP 'Get' request when its data …

angularjs ajax caching http-get