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

learn more… | top users | synonyms

0
votes
1answer
75 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
15 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
85 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 ...
-1
votes
0answers
40 views

Magento not serving Varnish Cache

I've installed Varnish on Ubuntu 12.04 x64 and want to use it with my Magento shop. Information: Magento 1.9.0.1 Varnish Cache 3.0.5 Magento Turpentine 0.6.0 When I visit ...
0
votes
1answer
17 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
17 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
14 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
23 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
39 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
0answers
22 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 ...
1
vote
1answer
26 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 ...
-2
votes
1answer
40 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 ...
0
votes
0answers
27 views

How to make sure that Nginx does not cache 4xx and 5xx errors?

We are using a caching Nginx Proxy as a local npm mirror. Sometimes it can get in an inconsistent state where accessing certain URLs always returns 400. I assume that Nginx is configured to cache ...
1
vote
2answers
107 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
21 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 ...
0
votes
0answers
14 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
16 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.
1
vote
2answers
44 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
53 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
49 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
1answer
87 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: ...
2
votes
2answers
78 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
102 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 ...
-1
votes
2answers
54 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
27 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
0answers
203 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
14 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
2answers
72 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
64 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
21 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 ...
3
votes
1answer
239 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
130 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
426 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
23 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
74 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 ...
-4
votes
2answers
319 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
22 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
30 views

Browsers ignoring no-cache headers when 302 status

I have a proxy server that will either deliver you the website contents or redirect you to a login page if your IP is not recognized (using iptables). This works fine for redirecting to the login page ...
0
votes
0answers
39 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
0answers
12 views

Is it possible to cache LDAP responses from referrals in other servers in AD?

I have a LDAP server that is called from a number of sites that each have their own (isolated) instance of AD Directory Services. Is it possible to cache an LDAP query, and response, in a local ADDS ...
0
votes
0answers
25 views

Varnish Backend Back To Live After “Service Scan” by Domain Dossier

My Varnish Cache works fine except there is annoying issue that every few hours, the backend probe will report sick for 3 of my 4 backends. So site can't open, report 503 obviously. The strange thing ...
0
votes
0answers
88 views

Empty $upstream_http_location variable if response was cached

I would like to cache the response of an redirect. (Cache the request to some site which returns a redirect and cache the second request which returns the actual content.) So far my config looks like ...
0
votes
0answers
25 views

MediaWiki migration showing errors with old directory structure

I recently migrated a server from an Ubuntu machine to a more appropriate and easier to maintain CentOS 6.5 VM. After moving the software over and ensuring the paths are all corrected, or so I ...
0
votes
0answers
24 views

How to set header for non-self-referencing URI in Apache?

I have to cache web pages with URL path teacher and student like so: <LocationMatch "^/(teacher|student)/"> Header set Cache-Control "private, max-age=60" </LocationMatch> However, ...
0
votes
0answers
11 views

Static App, How Many concurrent connections can my basic vsp handle? [duplicate]

So I have this simple web app. What it does is simply outputting a xml file 1-3kb in size, gzipped. My current vps is a basic one, with 2 gb of ram and 2x2ghz processor power. I use centOS and nginx. ...
2
votes
2answers
793 views

How to invalidate nginx reverse proxy cache in front of other nginx servers?

I'm running a Proxmox server on a single IP address, that will dispatch HTTP requests to containers depending on the requested host. I am using nginx on the Proxmox side to listen to HTTP requests ...
0
votes
1answer
277 views

Clear nginx cache via HTTP request?

I have the usual proxy_cache_path /data/nginx/cache levels=1:2 keys_zone=drupal:16m; proxy_cache_key "$scheme$host$request_uri"; to establish proxy caching. How should I ...
0
votes
0answers
84 views

Varnish bans page that should not be banned

Our Varnish 3.x is standing before HAproxy, which in its turn load balances to Nginx/Drupal Our goal is to allow caching for anonymous users and no caching for logged in user. I just found out that ...
50
votes
10answers
6k views

Why drop caches in Linux?

In our servers we have a habit of dropping caches at midnight. sync; echo 3 > /proc/sys/vm/drop_caches When I run the code it seems to free up lots of RAM, but do I really need to do that. ...
2
votes
1answer
107 views

Nginx or Varnish caching with multiple versions of a site

I have a website (https://mediacru.sh) that has a few versions. There's the normal desktop site, the same site with a dark theme, and the mobile site. They all share the same URLs. The theme is ...