A location or process for storing of transitory or temporary data in order to improve application or system performance.

learn more… | top users | synonyms (1)

0
votes
1answer
110 views

How to read apache header in NGINX?

I've set up nginx to bypass ajax requests (wich have header): set $accel "0"; if ($http_x_requested_with) { set $accel "1"; } proxy_cache_bypass $accel; It works fine, but I want be able ...
0
votes
0answers
107 views

How can I configure Apache so clients cache images but still check for updates?

I'd like to set up an Apache vhost such that browsers will cache images locally but will check back against the server for updates each time prior to displaying images. I have this currently: ...
1
vote
1answer
9k views

why adding Expire-Header to static files in nginX does not work

I have a single server block where my site resides in. Inside of that block I've added a location block as below: server { ... location ~* \.(?:ico|css|js|gif|jpe?g|png)$ { expires 30d; ...
0
votes
0answers
59 views

IIS static content - how can I cache just on file modified date?

How Can I get IIS 7.5 to cache on the files modified date only for static content files (e.g .html). It seems the only options that are available is no-cache, or expire at arbitrary times. I need ...
0
votes
2answers
549 views

How do we find out what is causing high cache usage on our server?

Every Friday from about 22:00 our server starts using large amounts of cache and then dies about two hours later. Please look at the following Cacti graph. We tried hunting processes which use ...
0
votes
1answer
22 views

What does 'cache-control' do for a page, not a static file? [closed]

When I set a value for 'cache-control' for a page, does my browser cache the whole page just like js or css? I've set 'Cache-Control:max-age=2592000, public' and monitored apache access logs. It ...
1
vote
0answers
58 views

Solr 4.5, timeouts on cold cache, how to keep it warm?

(not sure if that is more StackOverflow kind of question so pardon me if it is) There is an fairly large index of about 70M documents roughly 30Gb in size running on Solr 4.5. While it is fine with ...
0
votes
0answers
60 views

How to cache particular file in folder using .htaccess

i tried google and found one solution at 'http://webmasters.stackexchange.com/questions/24881/cache-a-particular-image-using-htaccess' but it cache all the file of folder, i want to cache only ...
0
votes
1answer
135 views

nginx: how to cache negative FastCGI responses only

Need some collective brainstorming :). There is a heavy PHP application (e.g. Magento) and each time a visitor hits a non-existent page (or there is a problem with a particular part of the ...
2
votes
1answer
191 views

Memcached cachesize 512M or 1G for VPS 2G? [closed]

I just started to use memcached on a VPS with 2Go of RAM. I set the cache size at 512 Mb, but I am wondering if I can go for 1024Mb. On the VPS there are: a local business website with very few ...
0
votes
1answer
255 views

djbdns/dbndns dnscache query ipv6-only nameservers?

I have (attempted to) set up dnscache on Ubuntu 14.04 (Trusty) to do dual stack for servicing requests AND querying authoritative name servers. To be clear, I'm using the dbndns package, which has ...
2
votes
1answer
684 views

IIS Output Cache vs ASP.NET Output Cache

Quote from iis.net: The ASP.NET page output cache is separate from the IIS 7 output cache. In applications that use the Integrated ASP.NET mode, the ASP.NET page output cache can be used ...
0
votes
0answers
25 views

Moved site from IIS6 to IIS7.5 - caching confusion

I have moved an old ASP.net (net v3.5) from Win2003 to Win2008R2 with IIS7.5 The old site has a huge long list of cached ISAPI extensions. Output caching is enabled on IIS7.5. Do I need to add the ...
-2
votes
1answer
564 views

Nginx CSS Caching [duplicate]

I've been trying to fix this for a while, but I haven't been able to find a solution. Some notes about my setup: I am not using VirtualBox I am running Nginx 1.4.6 Ubuntu The CSS's cache will not ...
1
vote
2answers
255 views

Wrong DNS answer with CNAME and A Record at the same time

We had a customer which has set a CNAME Record for his domain. Somehow he managed it to set an A Record too, which should be not possible and is forbidden by DNS. But the result was: $ dig ...
0
votes
0answers
51 views

IIS cache headers for selective file types

I have an application that serves .js, .css and .gif, and bunch others (.xls, .htm,.pdf....etc) file types. My requirement is to allow browser caching of .js, .css and .gif files but not allow any ...
-2
votes
2answers
43 views

Will Varnish recreate cache?

I want to cache pages on my nginx site for fast retrieval. Let's say every 5 hours I want to expire all the cache and have it recreated. Will Varnish make calls to the web-server and recreate cache on ...
1
vote
0answers
63 views

Rail's FileStore with Linux Disk Caching or RAMdisk?

I have a Ruby on Rails application that stores it's catched files on the filesystem (Rails file-system cache). I was thinking about changing to memcached Store, but a short test shows it isn't a big ...
0
votes
0answers
37 views

How to set varnish cache purge time

I want to set the varnish cache purge time to 1 hour. I was not able to find in .vcl files. Is it set via some system variables or needs to set somewhere else.
2
votes
2answers
147 views

After ntpdate update for ubuntu server I always receive the old php file in nginx

The problem with nginX caching happened when I used ntpdate ntp.ubuntu.com to sync my server clock. Now when I request the path http://www.example.com/project/create I receive the old PHP file that ...
1
vote
1answer
282 views

What is the difference between proxy_cache_ and fastcgi_cache?

I was searching for a simple Nginx microcache solution and I end up seeing two ways to have microcache. Some tutorials use proxy_cache, while others fastcgi_cache. What are the differences, pros and ...
1
vote
1answer
192 views

What happens to a random bit error in the cache on an Intel CPU?

I have a system with ECC RAM and a Xeon E3 CPU. My understanding is that ECC circuits on the RAM will detect corruption from random bit errors in the RAM chips. But what happens to random bit errors ...
0
votes
0answers
232 views

CouchBase Client Fails to Cache Object less than 20mb. Time Out Error

I am caching my serialized POJO s(4mb-8mb size objects) concurrently into Couchbase server with CouchBase client (couchbase-client-1.4.3). for(upto 20 itertarions){ new Thread().start().. ...
0
votes
3answers
2k views

Varnish doesn't seems to be doing anything

I would highly appreciate an input on whats going wrong here: Running Magento on Ubuntu 14.04 x64 + Nginx + Mysql + Php5-FPM Please double check my steps so maybe you could help me point what's ...
0
votes
1answer
1k views

How to clear cache in centos remote server? [duplicate]

I had been trying to clear cache in a remote server and I got these commands. First login as root user and execute: [root@server ~]# sync [root@server ~]# echo 3 > /proc/sys/vm/drop_caches bash: ...
3
votes
1answer
256 views

Caching DNS server returns invalid ip address for external lookups

I'm trying to resolve a DNS issue and am running short of ideas. Google doesn't seem to be helping, either. When I use my local caching name server to resolve external host names, it always returns ...
1
vote
1answer
125 views

apache expires not working for pyramid server

I have a pyramid server running on EC2 via apache with following configuration - <Directory path_to_virtual_env> WSGIProcessGroup pyramid Require all granted Order allow,deny ...
2
votes
2answers
229 views

Memory used by unknown processes on OEL6 - without cache and slabcache

I've searched through "Where is my Linux memory?" questions, but I couldn't find a similar scenario for my kind of leak: OEL 6.3 x86_64 Linux with 6GB of RAM without any of my main components ...
0
votes
1answer
143 views

Couchbase Community Edition as a Cache

It is mentioned here(www.couchbase.com/memcached) that couchbase can be used as the caching layer. I am supposed to use the community edition for my caching layer. As found in Internet, there are many ...
0
votes
1answer
381 views

Nginx not caching any proxied requests

I believe I've properly set up nginx to cache all requests proxied to PHP-FPM, but it's not working. Here's the "http" bit from /etc/nginx/nginx.conf: http { include ...
2
votes
2answers
117 views

Mirror/Cache Websites on a Mobile Server

I have been asked to determine the feasibility of mirroring or caching websites on a mobile server on a train. Unfortunately, this has been dropped on me at the last minute and I have to come up with ...
-1
votes
2answers
181 views

Nginx and its caching systems. Are they all the same?

I'm a bit confuse about PageSpeed, Microcaching and Memcached. Are they just different tools that do the same job? I was initially thinking in use PageSpeed with Nginx. If I do that, do I need ...
-1
votes
1answer
39 views

cache images that has been resized with php [closed]

URL of the image is like this resize.php?image=imagename.jpg&w=100&h=100 and I want to cache the result in RAM. Can APC of php do it? how? Or I must install something else?
0
votes
1answer
818 views

How can I cache android packages using squid Cache?

I have a wireless Access point with another system using debian and squid/dansguardian as a transparent proxy to filter adult content. I can see that 90% the traffic comes from android phones and ...
0
votes
0answers
36 views

SoftPurge doesn't work correctly in varnish

I am trying to use Softpurge mentioned here: http://www.smashingmagazine.com/2014/04/23/cache-invalidation-strategies-with-varnish-cache/ I run in terminal the following command: curl -X PURGE ...
0
votes
0answers
79 views

Is it possible to use FastCGI_cache on nginx load balancer?

I am trying to setup a load-balanced small cluster to accommodate growing traffic on my WooCommerce site. The topology is going to be like this: Load balancer running nginx 2 application servers ...
0
votes
2answers
272 views

How to prevent nginx caching blank pages?

I have nginx 1.4.3 running on a Ubuntu 12.04 machine. I have nginx set up to cache pages (they are database-driven but stay fairly static). I'm using MySQL and PHP-FPM. However, I found that I would ...
0
votes
1answer
237 views

How do I determine where an SSL certificate is being served from?

I am having the same issue described in this question: IIS 7 Still Serving old SSL Certificate I have replaced an old SSL certificate with a new one and completely removed the old certificate from ...
0
votes
0answers
33 views

Can not analyze output from Squid and varnish

I'm using one Squid server between tow cache server. I get from headers following information: X-Cache MISS, HIT from cache-zz X-Cache-Age 515 X-Cache-Control public, max-age=3600 X-Cache-Lookup HIT ...
4
votes
1answer
727 views

Growing OS cache in RAM causing high system CPU usage

Long question, so please bare with me: I'm having a weird issue with a server that I've never seen before. On a machine with ~30G of RAM with an application that takes ~10G (spread across hundreds of ...
0
votes
2answers
503 views

Can zend opcode cache and APC cache run together on same server?

I am on a dedicated server - running multiple portals in respective virtual directories. Some of the previously loaded websites are using Zend opcode cache. While my new commerce portal uses an APC ...
-1
votes
2answers
2k views

PHP Warning: Module 'apc' already loaded in Unknown on line 0

I am on a dedicated server with my site hosted in a virtual directory. There are few other sites hosted in different virtual directories. I have APC and APCu installed. When i restart PHP-FPM i get ...
0
votes
0answers
36 views

How can I configure what to cache in nginx?

I have a REST API for which I'm using nginx as a reverse proxy. I want to cache certain calls to the API which use absolute time references in the request but I want to not cache calls which use ...
1
vote
1answer
166 views

Does fsfreeze flush FS caches?

If I run fsfreeze on a mounted filesystem, it will not be possible to perform new "write" operations on that FS until it is unfrozen, and "ongoing" writes should "complete". Now, will fsfreeze also ...
0
votes
1answer
684 views

Update Cache-Control max-age when srcache returns response from cache

I have configured Nginx to use srcache (along with the redis and redis2 modules). Server-side caching works great. My application responds with the appropriate Expires and Cache-Control headers, and ...
-4
votes
2answers
2k views

insufficient space in download directory /var/cache/yum/updates/packages [closed]

I try to install vim-enhanced using #yum install vim-enhanced I got an error like this insufficient space in download directory /var/cache/yum/updates/packages I found some answers to the this ...
0
votes
1answer
28 views

windows server which files are in cache

Is there a way to see which files are cached in a windows server 2008R2? I'd like to see/analyse which files are being used most to make choices how to optimize data on a server and for this it would ...
0
votes
0answers
53 views

Server serves old cache/memory/data with linkchecker agent

I'm using the perl script below to fill the cache/memory of the server by visiting all the links with the wget command and the linkchecker agent to check for broken links. When I run it it keeps ...
0
votes
1answer
107 views

images not cached with self-signed SSL certificate

I'm experiencing a problem where certain content (images) are not being cached when loaded from an https connection. The issue is occurring on both local and remote hosts, both are using self-signed ...
0
votes
1answer
2k views

Is enabling MySQL query_cache_size Innodb Lock Safe?

The query_cache_size looks like the kind of setting that one would usually want enabled which puzzled me since it defaults to 0. Then I read the following about the query_cache_wlock_invalidate ...