Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [cache]

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

0
votes
0answers
35 views

Website not showing my updated pages

The site is running on Ubuntu 16 with Nginx web server. Recently I have uploaded the new code but when I load the website still it's showing the old pages, I have removed all the files from the ...
0
votes
0answers
7 views

Shopware with nginx cache

We're testing to use a nginx cache with shopware but have some struggle. Maybe you can help. Our configuration: add_header X-Cache-Status $upstream_cache_status; set $no_cache ""; if ($request_uri ~...
1
vote
1answer
44 views

AWS file strategy when reading large files that don't change often

We have a web (Rails) application where a small number of somewhat large (1 - 10MB) business logic files can be uploaded by administrators. The content files will not change frequently, maybe once a ...
0
votes
1answer
48 views

cachefilesd systemd service failures [closed]

gentoolaptop / # systemctl status cachefilesd ● cachefilesd.service - Local network file caching management daemon Loaded: loaded (/lib/systemd/system/cachefilesd.service; enabled; vendor preset: ...
0
votes
0answers
10 views

Change source file still leads to crash even with cache

Setup: Wordpress with WordFence on Nginx with FastCGI enabled + PHP7.0 with opcache enabled (validate timestamps is false) Story: With the above setup and confirmed that both FastCGI has HTML cached ...
0
votes
1answer
24 views

How to force Nginx to cache revalidate

I have a problem, I have a server with video-files and nginx as a proxy cache server for office. As far as most videos not changing it working good, but time to time a few videos changing (I mean they ...
0
votes
1answer
22 views

Azure Redis Cache

Is it possible to create Azure Redis Cache using API and to create primary and secondary key by my own ( I want to create keys and then to forward these key to Redis Cache)? So basically I want to ...
0
votes
1answer
10 views

Litespeed cache – also for resources?

I'm trying out litespeed cache. Sounds promising. I added this to my .htaccess: ######### Begin - Litespeed cache <IfModule LiteSpeed> CacheDisable public / RewriteEngine On RewriteCond %{...
0
votes
1answer
42 views

Can NGINX “proxy_cache_valid” be relative to Last-Modified instead of time received?

I've been beating my head against the wall trying to get live DASH and HLS video streams to be cached correctly by an NGINX caching HTTPS reverse-proxy server. My current thinking is that my main ...
0
votes
1answer
62 views

Joomla, Nginx, and FastCGI Cache

I'm in the process of moving some Joomla sites that I host onto a LEMP stack from a LAMP stack. I've followed a guide to get FastCGI Cache up and running, and with a single time.php file in the ...
-1
votes
1answer
60 views

How to run multiple NGINX instances for servers to be developed together but deployed separately

I'm an NGINX beginner who is building both an adaptive live video server (HLS & DASH) and a caching HTTPS reverse proxy server. While the servers will be deployed to separate boxes, I'd like to ...
0
votes
0answers
28 views

Can Nginx only cache response body while excluding some response headers

We all know that the proxy cache features in Nginx will cache all response content generated by upstream server. But I wonder whether there is a solution that the response body is cached by Nginx ...
3
votes
1answer
47 views

Disc write cache on Windows domain controller | always disabled by default?

Is it true that on a Windows 2016 domain controller (bare metall installation), the disc write cache is turned off even if a battery-buffered RAID controller is installed and recognized by the system (...
0
votes
0answers
9 views

How do I help Cloudflare / Apache / Wordpress to cache 404 pages?

Using Newrelic I've found out that 65% of load on my web server was created from the 404 rendering of static resources, because the 404 page was rendered also for the missing static resources (jpg, ...
0
votes
0answers
7 views

Cache reverse-proxy results from all the substitutions

The reverse-proxy receives the client's HTTP request, then: Retrieves content from back-end server Inflates content Performs many substitutions across various files (JS, HTML, CSS, etc) Deflates ...
0
votes
0answers
43 views

Nginx & PHP - Different caching for a different location on the same domain (multiple web apps different cache)

Recently, I have multiple web applications on my domain at my dedicated server. Domain www.example.com - which has WordPress on parent/top (main) location and custom PHP web applications located ...
0
votes
0answers
35 views

Installing mysqlnd_qc plugin

As the title says, I need (I really need) to install the mysqlnd_qc plugin. But, however, this is not really simple. So, what I achieved yet is installing MySQL Native Driver, Apache etc. and that's ...
3
votes
1answer
79 views

Why has performance plummeted after destroying and recreating a ZFS pool?

Had to destroy and recreate a pool due to some other issues. I noticed that performance on the new pool is atrocious. Whereas before on the old pool, ARC was full and ARC hits were high, ARC hits on ...
0
votes
1answer
74 views

I think Varnish is dropping my query string parameters

Our WordPress site has multiple views for every page and post depending on whether or not a specific query string is used. For example, if visited example.com/blog-post-with-chart (a page which ...
0
votes
0answers
32 views

Is there any way to redirect access if proxy cache is not hit on nginx

I'm using nginx with proxy_cache. And I'm looking for the way how to redirect to upstream servers if proxy_cache is not hit, to save proxy server outbound traffic. If cache is there, return cache. ...
0
votes
1answer
84 views

nginx: conditional proxy_cache based on upstream header

Is it possible to configure nginx so that proxy_cache is only active when upstream is setting a specific HTTP header? And maybe even use the TTL set in the header?
0
votes
1answer
314 views

How to recover a cached LVM with cache on ram-disk?

In this article there is a nice recipe for how to use a RAM-disk as cache-device for a classical LVM volume. Assumed you have an elder disk, lots of RAM and no SSD, you can boost disk performance to ...
1
vote
2answers
184 views

CDN: Synchronizing cache across edge machines

I built a cheap CDN for my static website based on nginx’s HTTP caching. Context. Here’s are some parts of my cache configuration: proxy_cache_key "$scheme://$host$uri"; proxy_cache_valid 200 301 ...
0
votes
2answers
255 views

Is there any way to cache or forward https requests to an http proxy using Squid?

I currently have squid setup to use a self-signed certificate for MITM to cache HTTPS requests. This works. If an item is not in the cache I want to request from an online proxy like Crawlera. ...
1
vote
1answer
52 views

Disable cache for 404 ONLY, in apache 2.2

Is there any method to call RESPONSE_CODE in http.conf file --> check if it is ="404" --> Disable cache for 404 ONLY.. P.S. I am using Apache 2.2. For apache 2.4 I saw some help as below: <...
0
votes
1answer
76 views

MySQL Opened_tables keeps increasing

I am running mysql-5.6.36. Parameter table_open_cache was 2000. I had a huge Opened_tables versus Open_tables ratio (ie. 67988/1950 after 326 days). So I set table_open_cache to 2500. After ...
0
votes
1answer
59 views

Nginx websoket reverse proxy caching

I'm currently using nginx to reverse proxy a websocket based application. Can I enable caching websocket messages to make the application available when service behind is down? I know caching is ...
1
vote
1answer
330 views

Session Resumption caching in Nginx

Some days ago i read a blogpost about session resumption in nginx. In that text the author claims that nginx does not provide the ability to regularly clear the session cache. After "...
0
votes
0answers
9 views

Assign a single resource provider with apache load balancer

I have an apache service with a load balancer using ProxyPass and ProxyPassReverse and I use it to balance the load of a certain website between 2 servers. The problem is there is I have a caching ...
1
vote
0answers
42 views

How is session caching affected by the renewal of a ssl certificate?

I optimized my nginx session cache like this # Optimize session cache ssl_session_cache shared:SSL:40m; ssl_session_timeout 4h; In a few days my Let's Encrypt certificate will be renewed. Does this ...
0
votes
0answers
32 views

Windows high active memory for mapped files on database files

When we read all data from a database we're seeing excess memory usage on our database server. Could not find the memory allocated to any processes but using rammap can see that windows is showing ...
0
votes
0answers
35 views

Browser livarage cache failed on js ,css and png assets on apache

I am trying to enable browser leverage caching for my angular5 application. Files serve with apache Here is the configuration I've added in the vhost <IfModule mod_expires.c> ExpiresActive ...
2
votes
0answers
53 views

Storage spaces direct only using 32gb for each cache device, is this normal?

I have two cache devices and 4 storage devices in two machines that are being mirrored. I ran some powershell to disable clustered storage (s2d) and in disk management I'm left with disks that are ...
0
votes
1answer
29 views

How do I ensuring cache consistency between two Nginx edges

I have a website with nearly 99% of the content served from a Nginx cache (which is also the web server). To give you an idea around how simple the caching mechanism is, this is my cache key ...
0
votes
2answers
153 views

Does it make sense to use both Varnish AND Browser caching?

I'm a bit confused about what the best practice is when using Varnish: I saw many sites where I know they were using Varnish, which had Cache-Control: no-store, no-cache, must-revalidate HTTP headers ...
0
votes
1answer
64 views

How can I clear freebsd caсhe

I used scp to copy a file from another system. After copy has finished I want to clear the cache. My os is FreeBS 9.2. Can I do this and how should I do this? Thanks
0
votes
1answer
109 views

Caching with Redis on a Parse Server

I'm on a 2.6.3 Parse Server and I need to cache the results of queries, to speed things up! I understand that Parse Server offers a Redis adapter. What exactly do I have to do, in order to start ...
0
votes
1answer
124 views

How to configure nginx cache to help Chrome browser

I have an issue where Chrome browsers do not reload updated javascripts. This is because, in Chrome, the request is never sent to the server. The other browsers I support (Firefox, Edge, Safari) ...
0
votes
1answer
16 views

Cant Log Into Wordpress Admin: Nginx Issue - SSL?

For some reason I get a 301 redirect loop when I force SSL_admin. No big deal I simply click the icon to load unsecure elements but now I cant log into the admin area at all. I already tried SERVER ...
0
votes
0answers
308 views

Can't get nginx caching to works over https reverse proxy

As title, i can't get nginx caching to works on mine reverse proxy. Here is mine nginx's server block configuration: proxy_cache_path /opt/cache/nginx/cache2.xxx.net levels=1:2 keys_zone=test_zone:...
2
votes
1answer
51 views

How should I use the new Optum drive?

I have a zpool consisting of 7 2TB HDDs of different vintage in a raidz setup. Currently, there is neither ZIL nor L2ARC device configured. The server has 12GB of RAM and no swap. The different ...
0
votes
0answers
28 views

how much RAM do I need for memcached mod_pagespeed cache with 500k+ images?

I'm considering to move mod_pagespeed cache to an external memcached server. My website has around 500k images (125gb+ of data). These images are not static files, the images are dynamically generated ...
0
votes
0answers
5 views

-/+ buffers/cache getting increased [duplicate]

I have a Linux system in which I am running some load . After 24 hrs of load I can see that there is an increase in the -/+ buffers/cache of 180 MB. -/+ buffers/cache: 3540 12410 Will it be the ...
0
votes
0answers
238 views

trouble with installing fastcgi_cache_purge ubuntu 16.04

So I'm trying to install fastcgi_cache_purge which is supposely a third party module https://github.com/FRiCKLE/ngx_cache_purge from https://www.nginx.com/resources/wiki/modules/ but this would ...
-1
votes
1answer
204 views

W3-total-cache with nginx fastcgi cache at same time?

Can anyone tell me how do these two cache work together? How does nginx know what cache to pull from first? what to ignore? or does it pull both? thanks in advance.
0
votes
1answer
155 views

How to cache DNS TXT lookups with dnsmasq

We use dnsmasq on our Debian servers to cache DNS queries. This works find for A and CNAME queries. However, I notice that dnsmasq does not cache TXT queries. You can see this here: 2018-07-23T08:18:...
0
votes
0answers
25 views

How can I disable caching for the volume in Windows 2012?

When I try to disable disk cache on Windows Server 2012, I get "windows could not change the write-caching setting for the device" error. How do I disable the disk cache?
0
votes
0answers
127 views

Is it worth using Nginx as an SSL/TLS terminator in front of Varnish, rather than just Nginx itself as a cache?

First off, as I understand it, Varnish Cache is only a HTTP accelerator, and thus does not support client-side or server-side (backend) connections over HTTPS, despite the existence of this whitepaper....
0
votes
2answers
57 views

Web server is caching PHP output

I'm using Gandi.net's hosting service and quite recently they started doing something alarming. They are caching the output of PHP programs, apparently to avoid running the PHP code, and sending that ...
0
votes
1answer
157 views

How to add vary custom header

My application is changing the content based on user country code. Please find server request flow diagram. https request -> nginx handle the ssl termination -> varnish -> if not cacheed, get ...