Ignite data afinnity for 2 caches

I have two ignite caches: public interface Entity1{ Entity2 e2(); } public interface Entity2{ } IgniteCache<String, Entity1> e1s; IgniteCache<String, Entity2> e2s; //... The reason I do exactly this is to process persons and com...
more »

2017-04-22 14:04 (1) Answers

Invalidate cache without client side access

I need the ability to force the browser to get a new version of a SPA. We're hosting the app; however, we do not have consistent direct access to the HTML on our client's site. Since the file is rather large, I'm looking for a way to keep it in the ...
more »

2017-04-22 01:04 (0) Answers

Browsers caching HTML

I am developing a blog with a static site generator. To get a better page speed I enabled image, javascript and css caching in my nginx config file: location ~* \.(?:ico|gif|jpe?g|png)$ { expires 120d; } location ~* \.(?:css|js)$ { expires ...
more »

2017-04-21 21:04 (1) Answers

JPA Cache working with nginx

I have many instances of the same Spring application, that are working on different ports. I have also nginx server, which is a loadbalancer - it handles a request and pass it to one instance, which handles it. These apps work with DB in order to sto...
more »

2017-04-21 14:04 (0) Answers

AlamofireImage: how to clear all image cache?

How to clear all images from cache using AlamofireImage. I’ve gone through following answers (posted in stack overflow) but none of them working. How to clear AlamofireImage setImageWithURL cache AlamofireImage cache? AlamofireImage how to clean m...
more »

2017-04-21 13:04 (0) Answers

nginx cache directory doesn't work in windows

I've configured nginx as a reverse proxy and to cache content. I've successfully configured it as a reverse proxy to my springboot app. But, it doesn't cache any content rendered from springboot and I'm seeing logs in error.log file. Below is the ng...
more »

2017-04-21 13:04 (0) Answers

MVP Adapter Data Cache

I'm developing project following MVP architecture. Usually, when I use recyclerView, my presenter controls Adapter data. But now I need to make recycler adapter with data from cache (or something like cache), recycler's size dosen't depends on cache ...
more »

2017-04-21 08:04 (2) Answers

Magento 2 Not Building Product Thumbnails Cache

There are other, similar questions out there but non of which have the correct answer for me. I have a fresh Magento 2 installation, built using composer. I have done nothing on it apart from install sample data using the php bin/magento sampledata:...
more »

2017-04-21 02:04 (1) Answers

Cache JSON response from servlet

I am trying to cache a response containing JSON from a servlet. I'm not using any libraries such as Spring. Perhaps I am misunderstanding how to setup caching, but I have configured the response headers to cache a response for 30 min and it doesn't s...
more »

2017-04-20 16:04 (0) Answers

How to cache specific ionic view perminatelly?

I have four tabs, three of them have their own nested view structure. However the forths view contains google map and I want to be 100% sure that I wouldnt run into situation where I have to reload map. For example - ionic by defaault caches 10 view...
more »

2017-04-20 12:04 (0) Answers

Sort redis cache

How can i sort my redis cache. The data: SADD key '{"id":250,"store_id":3,"url_path":"\/blog\/testblog123123", "status":"Published","title":"TestBlog123123", '"description":"","image":null,"description_2":"", "date":"2017-04-17","blogcategory":"Cat...
more »

2017-04-20 10:04 (1) Answers

CSS not responding. Caching issue

<html lang="en"> <head> <title>Corey Maller</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootst...
more »

2017-04-20 00:04 (0) Answers

Rails: page wont load without refreash

I am using Gmaps4Rails in my site and am having issues with the map and its content loading when navigated to from the nav bar. If I click on the navigation to the map page from a different page, the map will not load. However, when I refresh the pag...
more »

2017-04-19 20:04 (0) Answers

Threads on same core accessing same cache line

I am working in a bare-metal environment and thus evaluating performance at a low-level. How should I expect two threads on the same core to perform when writing to different sections of the same cache line? I am somewhat new to multicore/multithrea...
more »

2017-04-19 18:04 (1) Answers