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
4 views

Enable caching on nginx

I have my own VPS with CentOS 6 and nginx and I want to enable caching. To test it, if it is enabled successfully I use the Google PageSpeed Insight. My problem is that I don't have much experience ...
0
votes
0answers
11 views

High %sys utilization in Nginx cache node

We set up Nginx with Lua (openresty bundle) to be a local caching node to our file sharing server, we seperated files to chunks "50MB each" (by this method) and store them in cache to increase its ...
0
votes
0answers
18 views

Apache slow page load - cache / RAM drive / SSD issue? [on hold]

I've migrated recently from CentOS 6.4 to CentOS 7 on our server and I've got small problem (however probably not system related), this is my configuration for both systems: System 1: CentOS 6.4 ...
0
votes
0answers
17 views

Using database for storing text files and images

I need to build a image/static file cache which would host maybe few hundred up to thousand static files from 1kb to ~200kb. I'd need super fast reads (I'm using redis, but it's one threaded and I'm ...
2
votes
1answer
39 views

Tool for linux file system cache inspection [closed]

I'm looking for a tool to show what portion of a file is in the file system cache. In the past I have used the fincore tool that is part of the linux-ftools package. linux-ftools isn't in any of the ...
0
votes
0answers
14 views

Squid3 Reverse Proxy - Force Cache and Suppress Version

I have been using pfSense for about 2 years now and I love it. One of my favorite features has come to be Squid2 and Squid3. Right now I am using Squid3 to run both proxy and reverse proxy. There are ...
0
votes
1answer
22 views

in-memory-cache of specific files from NFS

I have some diskless machines and they mount a disk through NFS4. I want the machines to maintain a cache of specific files in their own memory. The machines don't modify the files and only read them ...
1
vote
1answer
39 views

Nginx reverse proxy in nested locations

I'm using Nginx as a reverse proxy for multiple applications in multiple servers and I'm trying to add common cache directives to static files of each application. My original configuration is ...
0
votes
0answers
22 views

Any benefits to proxying from nginx to tomcat behind cloudfront+elb?

Are there any additional benefits to having nginx sit in front of tomcat on our ec2 instances, when those instances are already only serving dynamic requests behind cloudfront and ELB? I'm thinking ...
0
votes
0answers
20 views

Configure client for two apt-cacher servers

I have two apt-cacher-ng servers up and running, but I am wandering how best to configure my clients to use them. The primary reason for having two servers is load balancing, but we would also like ...
0
votes
0answers
37 views

Enable cache headers on Nginx

I'm trying to make cache work on a Nginx which is a proxy for gunicorn or which serves directly static files. I tried to add: location ~* \.(?:ico|css|js|gif|jpe?g|png)$ { root ...
0
votes
0answers
16 views

NFS: settings for a non concurrent environnement

We have a 100% non concurrent access to an NFS share. Each client accesses its own files, separated in directories. So a client will make read and write operations on its own directory, but will never ...
0
votes
0answers
28 views

How do I know if my page is being cached? [migrated]

I have a WordPress site that is doing a few weird things, and I believe it is because it is being cached. I changed the contents of a CSS stylesheet file, and the change took around 10 minutes before ...
6
votes
0answers
59 views

Is there disk based file system with dedicated memory caching for Linux? [closed]

We have two (or more sometimes) applications battling for the OS page cache. In particular ElasticSearch is very dependent on the OS page cache. To the point that cache misses can make or break ...
0
votes
3answers
71 views

Caching OpenLDAP credentials for offline use on laptops

Our clients (Ubuntu 14.04) can login with there LDAP login. As soon as they have no network they cannot login with LDAP. Is there a way to cache those passwords and usernames, so that the laptops ...
-1
votes
0answers
19 views

Squid cache everything for ever [migrated]

I'm running OpenSUSE 13.2 and installed squid via yast. I want to cache everything on my localhost, web pages, ISO, distribution packages. The problem is that my /var/cache/squid directory stays ...
0
votes
1answer
14 views

Is it possible to make nginx cache expires at certain time?

So basically what I want to do is make nginx's cache expires at 24:00 everyday. I know I could use tools like nginx-cache-purge or just manually delete cache files on disk, but I prefer to letting ...
3
votes
2answers
50 views

Linux: What application is using my ram cache

I am wondering if I can see which application is using my ram buffer and cache. Also is there any time specified in kernel, when data is dropped from cache. My Ram is being full used by buffer and ...
-1
votes
1answer
37 views

Control files fetched from upstream when using nginx proxy cache

we have a file sharing site in a local network and we trying to save links bandwidth usage to the max by caching static files in local nodes powered by nginx with caching enabled. Everything works ...
0
votes
2answers
53 views

How would using caching nginx template affect adsense?

I'm considering using the nginx template below for WP sites with adsense on them. Would that cache the adsense ads too and make the clicks invalid? server { listen %ip%:%proxy_port%; server_name ...
0
votes
1answer
30 views

If two videos with the same source stream at the same time will they have separate cache files?

I was resolving an issue on StackOverflow (see my answer too), where I might stream the same video on the same webpage in two separate video elements. I don't really understand web file caching very ...
0
votes
0answers
10 views

Cloudfront objects being ejected from edge locations too early?

Cloudfront does not guarantee that it will hold an object in it's edge locations for any duration, however, typically, if I set a Cache-Control:public, max-age=31550000, smax-age=31550000 or a ...
1
vote
0answers
19 views

Is it a good idea to use long max-age and changing urls instead of normal caching approaches [closed]

I'm trying to improve the speed of some websites that I'm serving by setting appropriate caching headers. I've read in some tutorials that it is not a bad idea to have the URI of assets reflect their ...
0
votes
1answer
33 views

Nginx Cache with PHP-FPM

I have the folowing niginx config file: server { listen 80; server_name pajilleros.com www.pajilleros.com; access_log off; location / { root ...
3
votes
1answer
78 views

Why does TTL sometimes re-increment between DNS queries?

I dig xkcd.com, and I get something like this back: ; <<>> DiG 9.9.5-3ubuntu0.1-Ubuntu <<>> xkcd.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: ...
0
votes
0answers
39 views

Accidentally set expires max in http block

Yesterday, I accidentally set max expires option in http block. What should I do to clear client cache ? I'm using nginx as a reverse proxy for my rails server (unicorn), rails has a asset digest at ...
0
votes
2answers
17 views

HyperDuo Not Caching

I have purchased a SATA Controller featuring Marvell HyperDuo. However for some reason I am unable to select the ProgramData folder for Caching. I cannot find any references as to why and have not ...
2
votes
1answer
72 views

Nginx cache not updating

So my coworker set us up a fancy new caching proxy system and then promptly went on vacation. Now I'm getting complaints from our developers/designers that many static resources are being cached for ...
2
votes
1answer
37 views

Nginx doesn't decrement max-age

I'm trying to set up Nginx as a reverse proxy for my Rails application running on Unicorn. My app has some public pages that I'd like to cache for a duration for 60 minutes, so I set the max-age ...
1
vote
1answer
43 views

Joomla behind caching server with SSL

I'm having trouble getting a cache system to work with Joomla 3.x. This is especially a problem since the server should enforce HTTPS/TLS-connections. The Joomla system runs on Apache2 on Debian ...
0
votes
0answers
128 views

Is it really possible to use PHP sessions for authentication with nginx fastcgi cache?

I have recently switched an opencart instance from Apache+mod_php to nginx+fastcgi+php-fpm. I have been trying to leverage caching for most pages through fastcgi-cache. Unfortunately, many users ...
0
votes
0answers
40 views

Cloudflare doesn't cache as expected

I'm wondering why Cloulflare would not cache a certain static js file. Given the reuqest: curl -I http://www.testlifeinuk.com/dist/lifeinuk.js the headers returned like: HTTP/1.1 200 OK Date: ...
0
votes
0answers
19 views

Squid Cache.Log Anomality?

I have a cache.log full of forwarding loops like below. And this data fills my disk so rapidly. When I kicked the user 10.4.1.111 the logs stopped. What can be the reason? Host: 10.4.1.1:3128 Via: ...
1
vote
0answers
28 views

Script to verify/monitior HTTP caching headers [closed]

We'd like to verify that all our websites use the correct HTTP caching headers. Is there a script out there to make a request to a website, check its response headers and report whether it will be ...
-2
votes
1answer
70 views

Clearing Memory (RAM) Cache on CentOS

I know this has been asked in a similar way in the past but I'm just curious. If I made a script and made it run every midnight to check if my memory usage was higher than let's say, 80... would it ...
0
votes
0answers
36 views

Python libraries slow to load from NFS mount point

Several of our computers are diskless, and they load their Python libraries from an NFS mount point across the network. This means it can take up to three minutes to start up a Python process that ...
2
votes
0answers
71 views

400 bad request from a proxy cache

So we have an nginx proxy cache that is used to maintain uptime even if npm goes down. On occasion this server (noticeably once every few months) starts returning 400 bad request for every response ...
6
votes
2answers
283 views

What effect does https traffic have on web cache proxy servers?

I just took two university courses on computer security and internet programming. I was thinking about this the other day: Web cache proxy servers cache popular content from servers on the web. This ...
2
votes
0answers
28 views

Do we get a access.log entry for content served from cache in nginx

For a configuration that looks like http { proxy_cache_path /etc/nginx/cache keys_zone=one:10m; access_log /var/log/nginx/access.log; error_log /var/log/nginx/error.log; server { ...
1
vote
0answers
63 views

Rewrite a url to a a new URL and then send the new URL to a PHP script

I have URLs that contain a cache busting string. I want to rewrite these URLs without the cache busting string, and then send the rewritten URLs that match a certain criteria (e.g. audio/video files) ...
1
vote
1answer
35 views

Number of previous logons to cache - is there any way to override the limit of 50?

The goal is to have over 100 users be able to log into an offline machine using their cached domain credentials. Is there any way to override the limit? Do I have any other options for storing ...
0
votes
0answers
47 views

Disable file content/data cache for NFS?

I'm using NFS to share a directory between host (nfs-serer) and guest (nfs-client) system. I did not want to use KVM's preferred module 9p due to slow transfer speeds - NFS, does yield about twenty ...
0
votes
1answer
173 views

Linux ZFS does not buffer writes to write buffer (SLOG/ZIL)?

When experiencing write I/O, the log column in zpool iostat -v does not show any ZIL activity, ever. This results in higher than expected wait times when writing data to disk (sometimes over 80ms ...
1
vote
1answer
48 views

IIS Output Caching with ISAPI extension

I have an application running in IIS via an ISAPI extension with outputs JSON files based on the input URL (it works with a RESTful interface - the URLs are of the form ...
0
votes
1answer
63 views

mod_expires does not affect caching

I have mod_expires installed in Apache on CentOS VPS. It is also listed in the loaded modules, I checked by this command /usr/local/apache/bin/httpd -l When I place the code in .htaccess, and then ...
1
vote
0answers
100 views

LSA SID cache keeps old entry for renamed domain user - why?

I have a question about LSA SID cache on a domain member server. Recently I run into the issue when some users after their name was changed in AD has difficulties accessing application I support, and ...
1
vote
0answers
23 views

NVA: rewrite before or after Varnish?

I'm planning an NVA server system (Nginx-Varnish-Apache), where request are routed through in that order. Apache would be serving WordPress CMS or similar. I'm wondering where to apply additional ...
0
votes
1answer
19 views

Nginx: Tracking try_files misses

We are using try_files as cache rather than hitting the UWSGI to serve the file. Using a rule like the following: try_files $uri @uwsgi_app; I was wondering what is the best way of logging the ...
0
votes
0answers
96 views

Apache + PHP (fast-cgi) + Wincache on Windows Server crashing

We have one PHP application that runs on Windows Server 2008 Apache 2.2.23 PHP-5.4.27 (FastCGI) Wincache 1.3.4.0 and crashes from time to time and I'm not able to figure out what's going on. ...
0
votes
1answer
115 views

NGiNX Custom Cache param based on regex match

My question(s) are as follows: How do I set custom variables based on regexp against a useragent? How do I set custom headers for the reverse-proxy request? How do I use these values as caching ...