The cache tag has no wiki summary.
2
votes
2answers
46 views
Clarify benefits of anycast DNS - shouldn't DNS caching make it irrelevent?
We're trying to make a decision between using our hosting company for DNS or using Amazon's Route 53.
One of the benefits of touted by Amazon about Route 53 is that it uses Anycast which means that ...
1
vote
1answer
11 views
Apache proxy_mod refresh
I have an apache web server with a ProxyPass configuration to link a Tomcat server:
ProxyPass /server http://localhost:8080/server
ProxyPassReverse /server http://localhost:8080/server
When Tomcat ...
2
votes
1answer
20 views
windows 2003 server missing dllcache folder, how to restore?
Recently our Windows 2003 server has started giving a "Could not start the security center service error". I looked into this and realized a windows dll was missing called WSCSVC.dll
I then realized a ...
0
votes
0answers
30 views
Bind: non existing PTR record
Here is my bind query.log:
28-May-2012 13:34:00.370 queries: info: client IINTERNAL_DNS_IP#49428: view internal: query: 44.33.22.11.in-addr.arpa IN PTR + (EXTRENAL_DNS_IP)
28-May-2012 13:34:00.532 ...
2
votes
3answers
67 views
Bash can't find file after I've moved it
After I move an executable file which I've recently executed (or more commonly, after I uninstall something from somewhere and install a different version somewhere else), bash can't find it, even if ...
1
vote
1answer
33 views
Using CloudFlare with a mirror site
I am developing a mirror website (where people can download files, sort of like a FTP). I was wondering about using CloudFlare to help cut down on bandwidth usage. I have the mirror website with ...
1
vote
0answers
12 views
Clearing Java certificates cache (force reload certificates)
A simple question here.
One application gave me this exception when trying to access a website with a expired certificate: java.security.cert.CertificateExpiredException
So, I renewed the ...
2
votes
0answers
45 views
How can I optimize the Windows file cache so flushing a file is faster?
I have a third-party, object-oriented database server running on a Windows Server 2003 x64 machine with 24 GB of RAM. Except for some system processes and monitoring tools, the database server is the ...
0
votes
1answer
26 views
Is it possible to add html/js to pages cached by varnish?
I have a lot of websites and want to get analytics from Google about all pages served by the cache.
Is it possible to add javascript or html to the bottom of each page served by the cache?
For ...
1
vote
0answers
20 views
Why does this one file not respect .htaccess' cache-control header?
Testing performance improvements, I added an .htaccess file with the following directives to my /assets folder (where I store a few images of various types).
<FilesMatch ...
1
vote
1answer
49 views
mod_rewrite in .htaccess causes header not to be applied - why?
Excerpt from <VirtualHost *:80> section in httpd.conf (goal: set Cache-Control for all JavaScript files):
<LocationMatch "\.js">
Header set Cache-Control "max-age=290304000, public"
...
1
vote
2answers
39 views
NGINX Reverse Proxy : proxy_cache inside if block - Possible?
I think starting with a small snippet would be wisest:
location ^~ /test/ {
proxy_pass http://frontend;
proxy_http_version 1.1;
...
0
votes
1answer
32 views
NGINX Reverse Proxy : Is it possible to proxy cache ONLY 404 (or other) html status codes?
With nginx, latest, is it possible to proxy cache ONLY specific html status code responses?
We use 410 status codes for some responses.
These are checked against our database.
When the said content ...
0
votes
1answer
41 views
Varnish Cache - default TTL?
I have discovered that I can set the TTL in Varnish as follows in my VCL file:
sub vcl_fetch {
# 1 minute
set obj.ttl = 1m;
}
But what is the default setting (assuming the backend server is ...
3
votes
0answers
42 views
Windows Server 2003/Terminal Services - DLL Caching?
Does Windows Server 2003 cache specific DLLs on a per-user basis when in a terminal server environment?
Back-Story:
We recently had to update some DLLs for our application, and (so far) one client ...
0
votes
1answer
32 views
Set ARR under IIS with last-modified header for cache
I want to set ARR (IIS load balancing software) with cache that depends on the last-modified tag in the header.
Every time the server gets a request it will look at the last-modified tag and if it's ...
-1
votes
0answers
41 views
Dropbox (Windows) storage limit [closed]
I recently asked this question in a post on the Dropbox Forums, but to no avail.
I have a small laptop running Windows 7 with a 128GB SSD; a load of Virtual Machine's are taking up excessive ...
0
votes
0answers
53 views
IIS7 connection_dropped, connection_dropped_list_full log entries and resulting 503 responses.. server, application issue or both?
A high volume classic ASP page is using an ASP.NET page to return xml data, taking advantage of .NET caching capabilities. The cache being used in the .net page is the Context Cache. Recently after ...
-3
votes
1answer
43 views
Setup local caching DNS server for speed
I was wondering if it was possible to setup a local DNS server though BIND9 that contained a large amount of entries for DNS names, similar to what an ISP DNS server or something like Google DNS would ...
0
votes
0answers
25 views
trafficserver on freebsd9.0 equal "[connect] ERROR (main_socket_fd 3): No such file or directory
I use freeBSD and trafficserver for caching:
and this is my freeBSD version and trafficserver version:
FreeBSD videocache.cnwisp.com 9.0-RELEASE FreeBSD 9.0-RELEASE #0:
Tue Jan 3 ...
1
vote
0answers
101 views
Best opcode cache for fcgid? (APC vs eaccelerator vs xcache)
I have been reading a while the web trying to find out about opcode caches for fcgid. As I understand so far APC is not a good solution for fcgid, since APC with fcgid caches only per process and that ...
0
votes
0answers
67 views
Squid 3: How to prevent showing the cache_peer error page to the user?
I have a Squid3 cache in my network (let's call it cache0), and every PC must explicitly use that as a proxy to connect to the Internet. I also have two other parent caches, and those are the ones ...
0
votes
0answers
18 views
File-based reverse proxy cache with lru gc?
For a project I'm working on I need a file-based reverse proxy cache where I limit the size of the cache to some setting and have the ability to "gc" the cache based most likely on a lru algorithm.
...
0
votes
1answer
79 views
Poor man's reverse proxy: caching using mod_rewrite
Poor man's reverse proxy: caching using mod_rewrite
I am pretty sure somebody already solved this problem somehow. Long story short I want to cache GET requests to my PHP script. The script saves the ...
0
votes
0answers
59 views
High varnish CPU load when combining it WordPress and nginx for multiple sites
I recently applied the following setup to install WordPress plus W3 Total Cache on an nginx server with a varnish frontend to achieve high scalability. It works great when I'm only running one virtual ...
-2
votes
1answer
118 views
How do i restart my linux server in every 2 days via crontab?
I have a Linux server containing the os version below:
Linux 2.6.32-220.7.1.el6.x86_64
I want to restart it in every 2 days, please help me, I want to do it via crontab.
Another help,
I used a ...
2
votes
2answers
100 views
CloudFront with Custom Origin and ELB
We are using CloudFront for our static assets but also wanted to allow for Gzip. We set up a new distribution with a custom origin pointing back to our application servers which are behind a elastic ...
1
vote
2answers
92 views
HTTP Caching Server that supports POST
I am hosting a REST service which is sending appropriate cache-control headers. I use Varnish as a caching server in front of my webserver. However, a limitation of varnish is that it doesn't support ...
0
votes
0answers
23 views
Is it possible to set up an additional private edge server on an existing commercial CDN?
The Akamai CDN network for example does not have edge servers located in my country. Is it at all possible to make use of such a commercially available CDN but to add my own private edge server(s) to ...
3
votes
2answers
144 views
Howto prevent snmpd cache results from extend script
On my freebsd box i have snmpd daemon from net-snmp-5.5_4 packet.
In snmpd.conf file i have:
extend .1.3.6.1.4.1.2021.2 inpt /usr/bin/perl /usr/local/etc/snmp/mpdinput.pl
where mpdinput.pl my ...
1
vote
1answer
460 views
Scaling a node.js application, nginx as a base server, but varnish or redis for caching?
I'm not close to being well versed in using nginx or varnish but this is my setup at the moment.
I have a node.js server running which is serving either json, html templates, or socket.io events. ...
1
vote
1answer
39 views
Debian (wheezy) force cache to RAM
I have linux server running about 6 game servers. I have 3 GB total ram but I use only about 500 MB. Is there a way how to cache one of my game servers (all the files - even non actualy used maps etc. ...
2
votes
0answers
39 views
How to make background flushing more aggressive
I've got a system that is doing a continuous steady stream of writes to GFS2 filesystems, and what happens is that the cache builds up to vm.dirty_ratio and then load skyrockets during a synchronous ...
0
votes
1answer
161 views
How should I configure nginx caching headers for a “baked” static file blog? (Octopress)
I recently deployed an Octopress blog (which is a blogging platform built around Jekyll). It's a static-site blog generator, with no dynamic content or databases to muck about with. It's being ...
1
vote
1answer
118 views
Sending HTTP headers by webserver or PHP?
It is equally possible to send HTTP headers by webserver or script. I use PHP on Nginx. Is there any different to send HTTP headers (such as Cache-Control) by nginx or PHP?
Is it faster to send ...
0
votes
1answer
35 views
How can I set up Linux URL Caching?
I'd like to set up Linux to cache some commonly requested URLs so that it doesn't have to go out to the net to get them every time. This would be a system-wide URL cache, not just in a particular ...
2
votes
1answer
51 views
MySQL com_select?
I'm looking to tune my query cache a bit. According to 7.6.3.4. Query Cache Status and Maintenance in the manual:
The Com_select value is given by this formula: Qcache_inserts
+ ...
0
votes
0answers
220 views
APC on PHP 5.4 does not seem to be installed after installation
I've recently upgraded to PHP 5.4 from 5.3.6, I did the command apt-get upgrade php5 with the custom PHP 5.4 repo which I added to the apt-get repositories, now that I upgraded, I restarted ...
0
votes
1answer
35 views
Cannot acces a page on my system,which is acessible everywhere in world
I need to open a website "http://www.book-pal.com/" , which is opening everywhere in world, but not with me. it shows a 404 page not found error and this is the content of the Cache, when i debugeed ...
0
votes
0answers
22 views
Force database read to master if slave data is stale
I previously asked a specific question about this database replication for new user signup to which I got an answer, but I want to ask this in the more general sense.
I have a database setup in which ...
0
votes
0answers
63 views
How often clear OpenX cache directory?
OpenX creates many small php files in /openx/var/cache. After some time amount of files is so big that it have impact on server performance(the amoount was so big that listing them all was not ...
1
vote
4answers
77 views
Is this a good behaviour?
My centos 5.7 is running Magento.
4GB RAM and 4 Cores.
Nginx + spwan-fcgi + memcached (Best performance if you ask me).
Now i'm a little bit concerned about the Memory usage.
[root@adikastyle ...
2
votes
4answers
154 views
how to cache my website?
I have few questions about caching a website, since I haven't tried caching a site before.
First is how to cache a site so it will have a faster loading when clients browse the site. For example I ...
2
votes
1answer
61 views
Does NFS cache reads by block or by file?
I have a large image stored on NFS. I want to read only the first portion of the image to get the header.
Does the NFS client stop reading after it gets the blocks it needs or will it receive the ...
1
vote
1answer
93 views
Debian/Ubuntu is it possible to reinitialize /var/lib/apt/lists and /var/apt/cache after deleting them?
Is it possible to restore the functionality of /var/lib/apt/lists and /var/apt/cache after deleting them or minmizing them in some wa
I am trying to shrink down an Ubuntu VM to the smallest size and ...
-1
votes
1answer
146 views
Running < 20 classic asp sites on 2008 IIS7. Memory use brings the server to its knees
I am hosting < 20 asp classic websites on a Windows 2008 Server. All of the websites run on my custom CMS. I am migrating them from a 2003 server.
Memory was also an issue when these sites were ...
2
votes
2answers
272 views
Avoiding Varnish Hitting Magento Cookies - VCL
Hello to serverfault users,
I would like to kindly ask someone to help me configure varnish for magento.
Using command: varnishtop -i TxHeader -I Cookie , following info show:
TxHeader Cookie: ...
0
votes
1answer
213 views
VCL - configuration for Magento and Varnish 3.0.2
I would like to kindly ask if there's someone who can help me configure Varnish for Magento
to reach far more hits. My current ratio from varnishstat is:
cache_hit=271
cache_miss=926
I'm kindly ...
1
vote
1answer
193 views
sub vcl_recv | Magento + Varnish
I would like to kindly ask someone for help.
I browsed a lot of pages containing Varnish tutorials and sample VCL files,
but I can't find anything related to configurating Varnish for Magento (at ...
1
vote
2answers
147 views
Varnish only cache assets from single session
Currently I manage to configure varnish to cache items from 1 user, but the when the second users comes in varnish fetch another asset from Apache.
How can I cache static assets behind magento ( ...