In computer engineering, a cache is a component that transparently stores data so that future requests for that data can be served faster.

learn more… | top users | synonyms

0
votes
1answer
547 views

URL with trailing slash 404, appending index.php or ?someString works

Recently I've encountered an issue where some pages 404 when accessed via their cruftless paths. The same pages work when a query string, like ?1234 or index.php is appended to the path. Example: ...
1
vote
3answers
268 views

Cached content causing a huge number of 404 errors, too many connections

My site has been largely unresponsive for three days due to a large amount of traffic. A JavaScript element on the page regularly requested images from the server, and the number of connections ...
4
votes
2answers
996 views

Can I use an SSD as Cache to a NAS?

There is a NAS with Raid 10 that holds resources. At a time, around 24 machines try to access the same resource (3d rendering in a render farm). Although the network is 1Gbps and NAS is fast, the ...
0
votes
1answer
88 views

Upgraded phpMyAdmin, can't see any changes in browser. Server caching?

How do I check if server caching is on, and is it okay to clear the cache (how do I do that?)? I have completely replaced all files in my phpMyAdmin directory so I'm not sure what else it could be. ...
6
votes
2answers
119 views

Caching db results - need a nudge on how to start

I have a project coming up where one of the requirements will be to cache what's essentially read-only data in order to lessen the strain on the db. I'm just a bit confused on how caching works with ...
1
vote
1answer
3k views

Memcached Cluster - better to have 3 smaller instances or 2 mediums ones?

Currently I have 2 small servers in an memcached cluster. We are approaching out limits with them and need to grow. What are the pros/cons or going adding another small instance compared with having 2 ...
6
votes
2answers
469 views

Windows File Cache drops suddently

I have a 64-bit Windows 2003 server with 48 CPU cores and 128GB of RAM running a single application (SQL 2008 Analysis Services). SSAS is currently using about 50GB of memory. SSAS relies to a ...
1
vote
0answers
170 views

Is it possible to detect IIS kernel mode caching from the client?

My company has software that has a critical bug associated with kernel mode caching. We have distributed a fix, but we want to be aware of who has not applied the fix. I would like to know if it is ...
5
votes
2answers
150 views

Slower/cached Linux file system required

I know it sounds odd but I need a slower or cached filesystem. I have a lot of firewalls that are syslog'ing their data to a pair of Linux VMs which write these files to their 'local' (actually FC ...
2
votes
1answer
299 views

Nginx: Cache only home page

How do I specify the location directive to cache my homepage without any filename or extension suffix. I need to cache only my home page at site.com and not anything under it(i.e ...
-1
votes
1answer
445 views

nginx proxypass content 404s when adding caching location block

Below is my nginx conf - the location block for adding expires max to content is causing issues with content from the /internal proxied sites. nginx error log; 2011/11/22 15:51:23 [error] 22124#0: ...
1
vote
1answer
552 views

IIS 7: Expires header for specific files

I have this configuration for all static content on the site in the root directory: <configuration> <system.webServer> <staticContent> <clientCache ...
1
vote
1answer
417 views

Windows samba share: drop cache after DNS change

Suppose I have following entry in hosts.cfg file: 1.2.3.4 test # foo machine I start script that every second call ping test and cat \\test\share\machine-name.txt Script output: IP: 1.2.3.4; ...
0
votes
2answers
292 views

Buffer/Cache overflow Ubuntu 10.04 LTS Xen Rackspace

I'm running: Ubuntu 10.04 LTS Server AMD64 in a 512MB XEN paravirtualized environment. lighttpd v1.4.26 PHP v5.3.8 MySQL v5.1.41-3ubuntu12 The issue is: I first started on a '256MB account' which ...
1
vote
1answer
288 views

Nginx: Per user caching

For normal public pages & js I do a proxy_cache assets; proxy_cache_key backend$request_uri; proxy_cache_valid 200 302 100d; proxy_cache_valid 404 1m; ...
1
vote
3answers
859 views

Is using both Nginx and Varnish at the same time redudant?

Disclaimer: I'm not an expert on either Linux, Nginx, Varnish or anything related to servers but I've managed to get a Linode VPS up and running, serving two blogs with Wordpress on them to different ...
0
votes
1answer
52 views

Scalable server configuration for dynamic growing social site [closed]

My team is writing (social) website, witch should in theory grow up very fast. My task is to attempt to define the hardware requirements for such a page (for investors). Technology in which we create ...
1
vote
1answer
733 views

nginx proxy caching and ssi

I am using nginx for caching requests from the upstream apache server, however I want few blocks inside to be fetched from apache all the time. I am hoping ssi can do this, but the SSI tags are ...
2
votes
1answer
503 views

Caching 404s - NGINX or Varnished?

I'm looking for a solution to cache 404s in long term (a few days/weeks) on the webserver. My current setup is NGINX with memcached_pass proxy and PHP-FPM to deliver uncached pages (PHP also writes ...
0
votes
1answer
354 views

Caching and/or session issue with django application

We're having several issues with users getting logged out and/or not being able to sign in to our Django application. We have a single database, multiple front end servers, and a nginx load balancer ...
0
votes
1answer
559 views

Which Linux filesystem is best for a huge Apache mod_disk_cache partition?

Talking about a huge (50GB, 500.000 entries) Apache disk_cache partition: Which Linux filesystem performs best for this task? In my example, the partition has a lot (500.000) of very small files ...
5
votes
2answers
882 views

Apache's htcacheclean doesn't scale: How to tame a huge Apache disk_cache?

We have an Apache setup with a huge disk_cache (>500.000 entries, >50 GB disk space used). The cache grows by 16 GB every day. My problem is that the cache seems to be growing nearly as fast as it's ...
0
votes
1answer
113 views

Configuring XP guest and Win7 host so guest gets best advantage of host's RAM? [closed]

I have a Windows 7 64 bit with lots of RAM hosting a VirtualBox VM with a Windows XP guest. The apps run on the guest use so much ram that it typically ends up swapping. I'd like to know any tips ...
3
votes
1answer
1k views

Nginx reverse proxy: Not setting expires header

I have my static assets configured as location @upstream { proxy_pass http://localhost:82; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; ...
0
votes
2answers
41 views

Find caching DNS server?

Is there any way to find out which servers, on the way on DNS routing, are caching records, and for how long? I'm on a iMac with Leopard. The reason I ask this, is that I've made some DNS changes to ...
0
votes
1answer
848 views

APC File Cache not working but user cache is fine [closed]

I have just got a VPS (with cPanel/WHM) to test what gains i could get in my application with using apc file cache AND user cache. So firstly I got the PHP 5.3 compiled in as a DSO (apache module). ...
1
vote
1answer
95 views

on Linux, is there any way(tools) to know which application cached data and what the data is?

On my linux system I find that the free memory is continuously reduced.I use free -m to get the free memory size. But after I execute echo 3 > /proc/sys/vm/drop_caches the size of free memory ...
0
votes
2answers
86 views

Procedure for Setup of Internal Cache Server

I currently have a small business where many of the computers download the same fies over and over again (for example Windows Updates). What I'd like to do is setup a cache server, something that'll ...
1
vote
1answer
1k views

Disable DNS Caching PHP

I need to get the latest A records of a DNS in a script. The script is doing some monitoring operations. The Default TTL of DNS record is 5 minutes, but the monitoring script is running every minute. ...
0
votes
1answer
311 views

SQL Server on VMWare - is transaction log corruption possible?

Scenario: SQL Server 2005 or 2008, Windows 2008 OS. Running in a VM hosted on VMWare ESX server. Is there any known issue with VMWare when it caches pass-through write request and it never reaches ...
1
vote
4answers
829 views

Fastest/scalable way to serve static files?

What options are there to serve static files very fast? Are there any options that allow caching the file in the memory of the server, etc? For example caching the js files in the memory. I know of ...
1
vote
0answers
397 views

IIS 7.5 Caching Classic ASP Responses and Static Files

I have a really hard time migrating from Windows Server 2003 to Windows 2008 R2. My ASP code seems to work but after a while users start complaining they see other people's responses! User 1: Search ...
3
votes
4answers
3k views

APC (PHP Cache) Uptime 0 minutes, not caching

My goal is to implement APC for opcode cache for a drupal 6 production site. I have so far tested APC with several php files with and without including other php files with include_once. Also tried ...
1
vote
0answers
327 views

Browser continues to request headers of cached files, even after instructing it otherwise

I am trying to add a expires header to the nginx configuration like this : location ~* \.css|\.js|\.jpg|\.jpeg|\.png|\.gif|\.swf|\.svg|\.tiff|\.pdf|\.ico$ { expires max; ...
3
votes
1answer
127 views

Caching + webserver on the same machine?

I'm preparing the move of a live website from a shared server to a seperate server running just that one site. Right now we're getting lots of traffic and Apache is having a hard time keeping up. One ...
0
votes
1answer
38 views

Storing cached files so they are accessible by more than one server

I want to start using multiple front-end Apache servers for my website. At the moment I store various HTML files in a caching directory, e.g. "/htmlcache/homepage.html" Obviously I don't want to ...
0
votes
1answer
199 views

Is dnsmasq a cache?

I have doubt whether dnsmasq is a DNS server or just a cache for DNS. I see in some of the linux machines that the dnsmasq is installed. Is it installed in default? Thanks in advance.
2
votes
1answer
2k views

I want static content cached, but browsers keep requesting it

I've got an IIS 7.5 site with caching turned on for javascript and css content directories. All requests to these files use a query string with the app version number, so I just want it to cache ...
1
vote
1answer
941 views

Is it possible to use mod_expires in an Apache configured as reverse proxy?

my setup is as follows: Browser <=> Ec2 Load Balancer <=> Apache (reverse proxy) <=> Jetty The Apache and the Jetty are running on the same machine in the Amazon cloud (Debian Lenny, Linux ...
1
vote
1answer
156 views

Install Appfabric on linux

I'm developing an asp.net mvc application with the intention to host on linux using mono. I want to use appfabric for caching but seeing as it is built into windows. I'm wondering if it can also be ...
4
votes
2answers
413 views

How to map a folder to memory?

Is there a way to map a particular folder to memory? Say I have C:\somePath and I want that folder to be in memory at all times and maybe changes are dumped to HDD asynchronously without my notice. So ...
0
votes
1answer
744 views

Alternative PHP Cache and Wordpress Problem

I've installed Alternative PHP Cache with this command: pecl install apc Create and copy to /etc/php.d/ a apc.ini like this: ; /etc/php.d/apc.ini extension = apc.so Directive Local Value ...
11
votes
5answers
12k views

How to load-balance SQL Server 2008 for high-usage ASP.NET applications?

Imagine that you have a successful web application that uses ASP.NET and IIS 7. It generates many calls to a SQL Server 2008 database, and is expected to be available to the public with 99.9% uptime ...
8
votes
5answers
20k views

Is there a way to turn off client browser caching for specific websites?

This is a browser agnostic question but we're testing with IE9. One of the web apps our users visit is being randomly cached and changes aren't showing up when they should. No other site has this ...
0
votes
2answers
186 views

Varnish and Browser Exceptions

I currently run a website behind a Varnish server, It contains a few browser conditions for Internet Explorer 6. Unfortunately Varnish is caching the first version it serves without taking into ...
0
votes
1answer
73 views

Windows to linux fileshare is sometimes using old (cached) version of file

I have a fileshare on Windows 7 that I'm accessing from a linux (ubuntu lucid) virtual machine running in VirtualBox. When I change a file in windows, then don't access it for a while (an hour or two ...
0
votes
1answer
939 views

nginx static files caching doesn't work

here is my conf file: usr/local/nginx/sites-available/default server { listen 80; server_name localhost; location / { root html; index index.php index.html index.htm; } # redirect server error pages ...
0
votes
1answer
944 views

IIS Caching by Expire or Cache Control headers

Is it possible to get IIS 7 (Server 2008) to cache content by looking at the Expires and/or Cache Control headers of the content being returned ? (I have an ASP.NET app that is serving image tiles. ...
0
votes
1answer
517 views

Varnish multi proxy via DNS config and regular expression

I would like to set up a proxy "Varnish" as a bridge between public and private addresses. I thought I could use varnish and DNS servers to map private to public. For example: http://service.domain ...
0
votes
4answers
1k views

Nginx 0.67 ignores Cache-Control: no-cache from upstream proxy

I want to specify no caching for some responses from my (Pylons) upstream server in order to avoid users being able to access cached content after logoff. To do that I'm returning a no-cache header as ...