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)

4
votes
1answer
204 views

Is this a case of a stale ISP DNS cache or did I fudge something up?

I am currently in the process of transferring a legacy website (from a legacy hosting service provider) to a modern solution. Due to my context-specific requirements (which include financial ...
1
vote
0answers
72 views

How cache OpenLDAP Meta database (for use with Websphere Application Server)?

I have configured Meta database directory on OpenLDAP server for two different Active Diretories and it's work. But now I'd like set cache for this OpenLDAP, but I don't know how. From my slapd.conf ...
1
vote
0answers
66 views

Does OPcache work when PHP is running in CGI mode?

Does PHP 5.5s OPcache work with PHP running in CGI mode? Or does that even make sense, since it forks and kills PHP for each request?
-1
votes
1answer
157 views

Debug Nginx caching

I want to determine when I am getting cache hits or misses. Preferably, this would be a header, like X-Cache: HIT or X-Cache: MISS How can I do this with Nginx (a reverse proxy for the upstream ...
-1
votes
1answer
78 views

Does Nginx respect maxage from upstream server?

I see the proxy_cache_valid directive, but that confuses me. In HTTP, doesn't the upstream server specify this with Cache-Control and maxage? How do I get Nginx's cache to use maxage ?
1
vote
0answers
87 views

Enabling APC cache takes down website

I have a VPS running on centos 5 with 2 GB ram. I run a IP.Board forum on that server. Recently my server was hacked and I had to format the disk and start again. I was using APC cache before and it ...
0
votes
0answers
25 views

Unexplained hostname on IIS on Test Server

The test environment is IIS/Windows Server 2008/ColdFusion10 My development environment is Apache2/Ubuntu14/ColdFusion10 Other developer uses ONLY IP Address to test the hosted website on the ...
1
vote
1answer
2k views

Nginx not caching data

I have a REST API behind an nginx proxy. Proxying works fine, however I am unable to cache any responses. Any help would be much appreciated: Nginx config: worker_processes 10; error_log ...
4
votes
2answers
805 views

Why does Apache send 200 OK while Last-modified matches If-modified-since?

I'm trying to have a basic behavior regarding my caching strategy: files should be cached, and revalidated with server each time. So I would like Apache to send a 304 back. Here is the dialog that ...
0
votes
1answer
95 views

Memory cache is full not sure what is using it and if it is normal [duplicate]

The situation is that amazon bots are download ~600k images off my server. My web app deployed on apache server is extremely slow probably because ram usage is 100% some statistics: ...
0
votes
1answer
26 views

Varnish 3 ignore the req.backend directive

Varnish3 is ignoring the req.backend directive. As explained on the documentation (here), I've set two backends, and the regex for redirecting the request to the correct one. By the way, seems liks ...
0
votes
1answer
124 views

Varnish cache with NGINX files not updating WordPress

It seems that Varnish is missing or not validating cache properly. When I try and purge my cache, I get 200 OK Cache successfully cleared, but my page does not update. I am simply making HTML changes ...
1
vote
1answer
52 views

Memcached Pool - Outtage causes increased lag in response time

I have multiple cache servers which are added to a virtual pool at the PHP layer via the Memcached::addServers() api. During fault tolerance testing I noticed that taking one of the memcached servers ...
1
vote
1answer
103 views

Varnish does not purge my requests sent by Plone

I have varnish 3.0.5 up and running, connecting to a Plone 4 backend. My requests are cached, but not purged reliably, actually only after expiration of the ttl. plone.app.caching is the addon, which ...
0
votes
1answer
100 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
96 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
7k 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
55 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
340 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
21 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
48 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
46 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
109 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
150 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
200 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
525 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
23 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
465 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
219 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
49 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
51 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
35 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
133 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 ...
0
votes
1answer
168 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
157 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
195 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
1k 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
234 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
115 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
198 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
109 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
368 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
105 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
140 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
38 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
694 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
33 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
69 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 ...