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
0answers
12 views

HTML, CSS, JS files not getting refreshed on Apache Server

I have an Amazon EC2 AMI instance. I had Apache/2.4.12 (Amazon) installed and I've put my AngularJS and related js files under /var/www/html. I have made a few changed to my HTML, CSS and ...
1
vote
1answer
27 views

How can I directly read data from a file in Linux without using the filesystem cache?

I have shared storage which is mounted (read-only) on SERVER1, and mounted (read-write) on SERVER2. SERVER2 is writing data to a file. SERVER1 is reading data from that file. The file poling is ...
0
votes
1answer
22 views

How to transparently cache git clone?

I would like to offer a continuous integration service (I'm planning to use hudson, but the solution should work for others as well) with a web interface where a user will define a SCM URL (e.g. a git ...
1
vote
0answers
21 views

slabtop command doesn't work

I've inherited Sys Admin duties on webserver and I'm a bit of out my element, but learning as I go. My newest issue is all the of the ram has been gobbled up and I'm not sure where it has gone. free ...
0
votes
0answers
5 views

What cache control headers will prevent revalidation? [duplicate]

I'm trying to set cache control headers on a /static/ directory such that browsers will use a cached copy of the file without revalidating it. Links to files in this directory include the timestamp ...
-4
votes
0answers
22 views

configure a good squid video cache proxy [on hold]

I have squid proxy.I want setup a good video cache proxy for a website. The squid proxy used for mediator, and reduce the bandwidth of my movie storage server mywebsite ip: 192.168.1.10 ...
0
votes
1answer
25 views

Nginx Error 500 page no-cache

This doesn't make much sense, but it seems like when nginx serves up an error 500, it sends along a header that the client shouldn't check for new content the next time it connects. I can get around ...
0
votes
1answer
19 views

max-age=0 sent by browsers despite headers modified everywhere

I have a headers/cache issue in my lamp [centos] website. Config: [root@localhost httpd]# httpd -v Server version: Apache/2.2.23 (Unix) Server built: Nov 25 2012 15:03:00 [root@localhost httpd]# ...
0
votes
0answers
34 views

Buying new server - stock 512MB or 1GB raid cache upgrade? [closed]

I'm buying a new server to replace two or three old Server 2003 R2 boxes and the system I'm looking at is the Lenovo (IBM) Express x3500 M4 - in particular the 7383ENM model. This includes: 6-core ...
0
votes
1answer
8 views

Varnish 4 Ignoring Ban List

I am attempting to manage cache invalidation by using cache tags in a header field called X-Cache-Tags. The relevant headers from a typical response look like this: Age:218 Cache-Control:public, ...
0
votes
0answers
10 views

Django cache per request

I tried to use cache_page decorator in my view (developed in Django of course). But I think it works not like I want to. I thought, that this works like a CDN - One user execute a query and than other ...
-1
votes
0answers
28 views

NGINX SSL Reverse Proxy Cache Caching Content only for individual clients

We are having some trouble setting up NGINX as a reverse SSL proxy cache. We have successfully got everything working except the content caching feature. The caching feature works, and displays a ...
0
votes
0answers
23 views

Write cache settings not working

I am using Debian 8.0 x64 with 72 GB of RAM with 4 drives configured as software RAID 0. Linux s1 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1 (2015-05-24) x86_64 GNU/Linux I tried setting dirty ...
0
votes
1answer
9 views

If mod_expires is used in .htaccess will modified files be downloaded by the client

I'm trying to employ caching to speed up the response time of a website. Most of the documentation I have read suggests setting expiration to +1 month from time of access as follows: ExpiresActive On ...
0
votes
0answers
3 views

ssd caching in loop device on btrfs [migrated]

I have an ssd and 2TB hard disk. The ssd is used for the root filesystem which uses only around 20G of the 120G available. Is there a way to use an image/loop on the root filesystem (btrfs) as a cache ...
1
vote
0answers
14 views

what is the the difference between all the NSS caching daemons?

I would like to see a comparison between nscd, unscd, nsscache, sssd and nss-pam-ldapd. Those are all the alternatives to nscd that i could find in Debian... Our setup is that we have a bunch of ...
0
votes
1answer
11 views

Caching a package mirror

I would like to provide a cache for a package mirror. aka you try to pull down a file from the cache node and if it doesn't have it locally, it will pull it down from the mirror and cache it for X ...
0
votes
2answers
43 views

Building a high performance file server using SSD as cache

I want to build a file server that serves ~50 TB of content to its users. To maximize the server's throughput, I'm going to utilize the follow scenario. 50 TB of HDD storage. All of the static files ...
0
votes
2answers
40 views

Does Linux, Apache HTTPD or PHP cache frequently / recently accessed files?

Let's say we have a simple index.php file that goes: <?php inclde('file1.php'); inclde('file2.php'); inclde('file3.php'); Presumably, this will ultimately result in three additional ...
0
votes
0answers
15 views

Apache returning cached version when modified from Windows

We are running Windows 8 with VirtualBox running Centos with Apache. We have a Windows path mounted in the VM so we can edit content and when we save it in a Windows application the change doesn't ...
0
votes
1answer
29 views

Does CURL cache requests?

This is a pretty long question, so bear with me. I wanted to stress my Akamai Server logged in from an AWS instance. So, I started running ab benchmark. However, they seemed ridiculously fast to ...
-2
votes
2answers
110 views

PHP opcache. 100% hits, 100% used memory [closed]

My PHP OPcache hits 100% Memory Usage General info Zend OPcache 7.0.4-dev PHP 5.5.23-1+deb.sury.org~trusty+2 Server Software nginx/1.6.2 Here are my Cache Settings: zend_extension=opcache.so ...
0
votes
1answer
23 views

Caching UDP packets with iptables

I have a server set up to forward all of its packets on a certain port to another host with the following command; iptables -t nat -A PREROUTING -p udp --dport PORT -j DNAT --to-destination IP:PORT ...
2
votes
1answer
27 views

How do I download a new Ubuntu release without installing it?

I want to upgrade - in this case, from Ubuntu Trusty to Vivid (going through Utopic if necessary) but I'd really rather do the upgrade in two parts, doing a dry run to get all the packages locally ...
1
vote
0answers
20 views

WordPress Nginx Browser Cache Expires on Extentionless URLs

Struggling a bit with the following. Adding expires for JS and CSS, plus other static files is easy: # Directives to send expires headers. location ~* \.(?:css|js)$ { expires 28d; ...
0
votes
0answers
13 views

Can't seem to get fastcgi_cache_use_stale to work

So I have two browsers open and am requesting a page: http://localhost/test.php Once every 10 seconds the cache expires and when I refresh the page it takes 5 seconds to load the script, store in ...
0
votes
1answer
26 views

Nginx not displaying CSS, PNG & SVG

I have been looking through the hundreds of questions about this for a couple of hours now, but I haven't been able to find a single one that's the exact same as mine. Up until a week ago, all sites ...
0
votes
0answers
38 views

Cache control / max age not working for my site

In order to speed up my site Telium I implemented all of the .htaccess recommendations from this site. However, when I browse to my web site with the developer tools open (in Chrome), I see that all ...
0
votes
2answers
99 views

Nginx configuration for caching static files

I have some problem on configuring Nginx to correctly serve an AngularJS application. The server is configured as follow: www.example.com we have the landing page of the application ...
1
vote
1answer
76 views

Nginx: 'no memory in cache keys zone', despite plenty of space

I'm repeatedly seeing this error in my nginx logs: [crit] 30165#0: ngx_slab_alloc() failed: no memory in cache keys zone "api-data-cache" Looking at the directory used for the cache key zone, I can ...
0
votes
0answers
78 views

Nginx not enabling cache of images (failing for Wordpress and Laravel) on Ubuntu

I have the following /etc/nginx/sites-available/livingtrustdiy.com: server { listen 80; server_name livingtrustdiy.com; return 301 https://livingtrustdiy.com$request_uri; } server { ...
0
votes
0answers
80 views

Poor SSD I/O performance with rTorrent and Debian

I'm using a Dell PowerEdge R210 II server with Intel Xeon E3-1230, 32GB RAM DDR3, 2 x 480 GB SSDs SATA3, 2 x 1 Gbit network connection. I'm using both network connections at the same time (802.3ad ...
0
votes
0answers
28 views

Caching cookies with Varnish 4

I want to be able to cache pages that have a cookie. Let's say I have a cookie called "testcookie". If testcookie = 1 I want a page (cached), if testcookie = 2 it will have a different page ( i want ...
0
votes
0answers
69 views

Apache HTTPD - mod_deflate and mod_expires not applied?

I have a site that I am serving up using Apache HTTPD 2.4 on CentOS 6.6. Apache is acting as a reverse proxy to a Wildfly 8.2 server on the same host that is serving up a JavaEE web application. ...
2
votes
1answer
89 views

Group Policy to disable Thumbs.db caching Server 2012 and Windows 7 clients

We are trying to push out GPO to Windows 7 clients to disable Thumbs.db caching. The setting Turn off the caching of thumbnails in hidden thumbs.db files is found here: User Configuration > ...
0
votes
1answer
47 views

How to dynamically update page related data when FastCGI caching is enabled?

I am using php based blog on NGINX server with FastCGI cache. Without this cache, it is easy to update pageviews with every page load for a specific url. When FastCGI cache is in action, pageviews ...
1
vote
3answers
327 views

How do I add no-cache headers to all 404 pages served by apache and nginx?

I have recently run into an issue after switching to Cloudflare, and the solution is to basically stop Cloudflare from caching 404 responses. In our load-balanced multi-server setup, occasional 404s ...
0
votes
2answers
31 views

Cache HTTPS Static Assets

I will be managing a network for an African College with limited Internet access. To help reduce network traffic and increase browsing speed, I was hoping to setup a Squid like caching server. ...
1
vote
1answer
46 views

Is there a way to make GoogleImageProxy honor Cache-Control / expiration headers?

I am suddenly getting flooded with requests from Google's image proxy servers that look like the following: 66.249.81.250 - - [04/May/2015:06:55:54 +0000] "GET /images/image_1.jpg HTTP/1.1" 200 93394 ...
6
votes
2answers
80 views

Does Nginx `if_modified_since` only work on static resources?

I can't seem to find enough documentation. I have an app that generates some dynamic responses, but could still benefit from the Last-Modified header -- so I send it. However, turning on ...
1
vote
1answer
36 views

What is the purpose of a ramdisk when fadvise exists?

My understanding is that fadvise will tell the system that the indicated files should be stored in the file system cache (RAM). What is the purpose of mounting a directory in a ramdisk when you can ...
1
vote
1answer
93 views

FastCGI cache is always a MISS

So, I've setup FastCGI cache like this: location ~ \.php(/.*)?$ { fastcgi_cache RWI; fastcgi_cache_valid 200 60m; set $nocache 0; if ($request_method = POST) { set ...
0
votes
1answer
26 views

refreshing Expires daily

I'm operating a website on which the (static) content is generated once daily. This allows setting the expires setting to "modification plus 1 day". (I'm running apache with mod_expires.) Most files ...
0
votes
0answers
109 views

Protocol not available errors in squid3

I set up a transparent cache proxy on my Raspberry Pi with Squid3. Everything seems to be working fine and Squid is caching everything it's supposed to and working perfectly. The cache.log is filled ...
2
votes
0answers
43 views

Nginx cache unmanaged growth

We have two Nginx servers with independent local caches for caching images. Periodically there is problem with unmanaged growth of cache's size. This size may be far larger than max_size in ...
4
votes
1answer
105 views

Adding SSD cache (PCIe) to existing Linux KVM Node with SATA disks

I currently have large KVM nodes utilizing between 8 & 16 RAID10 arrays & hardware raid. We typically provision a single large volume (VM's are backed up off site as well). KVM VM's using LVM ...
0
votes
1answer
43 views

Nginx FastCGI Caching possible on custom URL's?

I am trying to build a custom caching solution for my website with FastCGI caching. I'm trying to cache only certain URL's that get a boat load of traffic. I know from my logs exactly which URL's ...
0
votes
0answers
87 views

nginx cache always returns MISS

I have 4 upstream server and I want to serve static files. I don't want to cache API calls response. This is what my upstream server returns for a sample CSS file: curl --verbose -X GET ...
1
vote
0answers
41 views

Keep file system meta data in cache with vfs_cache_pressure

My Ubuntu Linux (virtual) servers run rdiff-backup daily, which looks at all file meta data to determine what needs to be backed up, slowing it down. It does this every day, even though most files ...
0
votes
0answers
61 views

Nginx fastcgi_cache hide Set-Cookie when serving from cache

I'm trying to use nginx fastcgi_cache to serve some pages from my site, it worked fine but I found that sessions were being duplicated to all the users because Set-Cookie was cached in the response. ...