MySQL cache of subset queries

I am attempting to make a query run on a large database in acceptable time. I'm looking at optimizing the query itself (e.g. Clarification of join order for creation of temporary tables), which took me from not being able to complete the query at al...
more »

2017-01-19 17:01 (1) Answers

Drupal cache issue

I am developing a project containing webform using drupal and I integrated LDAP for my company so anyone within company can login. But problem is when a user is logging in for the first time he is getting everything ok ,for next time he is logging in...
more »

2017-01-19 14:01 (0) Answers

nginx as load balancer: upstream with path

i've an nginx container, on port 9200, that acts as load balancer. This is config file: proxy_ignore_headers Set-Cookie; add_header 'Access-Control-Allow-Origin' '*'; add_header 'Access-Control-Allow-Headers' 'Range'; upstream backend { se...
more »

2017-01-19 13:01 (1) Answers

Caches behaviour for Loops, in microcontroller

I am going to ask a question that could be easy and simpler for professionals But I am confused to uderstand it thoroughly. I have microcontroller based on powerpc, it have instrcution cache and data cache. There is no L2 cache. Instruction cache a...
more »

2017-01-19 08:01 (0) Answers

Using Hibernate 2nd Level Cache and Multitenancy

I'm presently using Hibernate with MultiTenancy options (schema per tenant in MySQL... so DB per tenant). We have an implementation of the connection provider and tenant identifier which properly switches DB schemas for us. Great. Now, we want to...
more »

2017-01-19 05:01 (1) Answers

How to replace image stored in cache?

On my application I'm caching the images of the users to use less data when scrolling through a tableView. I'm caching the profile pictures as they are being loaded, however, when I change the profile picture of the current user, the cached image on ...
more »

2017-01-19 02:01 (0) Answers

Laravel bootstrap cache

I have something messed up in project. At first I didn't have debug mode even when I edited app.php to set APP_DEBUG to true. I would just get the error message that something went wrong, and that's where it ended. I could see errors in laravel.log t...
more »

2017-01-18 21:01 (0) Answers

Caching Image in JavaFX application?

In my application I cache all images during startup in a Map that looks somewhat like this: Map<String, javafx.scene.image.Image> imageCache; While profiling my application I noticed this map being the largest object in my application (~150M...
more »

2017-01-18 20:01 (0) Answers

Release cache occupied by python in Linux

My initial post is here, that is, to release cache occupied by python to avoid memory error when processing large number of datasets. However, no one provided useful solution, and what I have tried can be found in my comments there. Briefly, three wa...
more »

2017-01-18 16:01 (0) Answers

Reuse a cached Spark RDD

Is there a possibility in Spark to re-use a cached RDD in another application (or in another run of the same application)? JavaRDD<ExampleClass> toCache = ... // transformations on the RDD toCache.cache(); // can this be reu...
more »

2017-01-18 15:01 (1) Answers

Right method for caching in html

When it comes to caching, I'm not sure which method to use. Should I go with: .htaccess ## EXPIRES CACHING ## <IfModule mod_expires.c> ExpiresActive On ExpiresByType image/jpg "access 1 year" ExpiresByType image/jpeg "access 1 year" </IfMod...
more »

2017-01-18 15:01 (1) Answers

Apache Ignite Cassandra eviction

I'm wondering about Ignite cache eviction in Apache Cassandra. Is it possible to evict cache entries into the cassandra (like offhaep/file eviction). As I've understood from the documentation (
more »

2017-01-18 13:01 (1) Answers

Spring @CacheEvict one key evicting

One more clarification about Spring @CacheEvict annotation. Suppose, there are several methods for caching: @Cacheable(cacheNames="rrr1", key="{ #mc.getId(), #serv.getId(), #dt1, #dt2}") public SumNodeVol getVol (MeterContains mc, Serv serv, Date dt...
more »

2017-01-18 07:01 (0) Answers

Server side caching with OData

We are developing prototypes wherein we want to use OData v4 for implementing our services. The response time is very very ciritical & want it as low as possible. To achieve this, we need to implement some kind of caching mechanism on the serve...
more »

2017-01-18 06:01 (0) Answers

Issue with logging out in NetSuite

We have an SCA Mont Blanc site setup with product MSRP showing to users who aren't logged in, and specific customer prices showing to users who are logged in. But we've run into a strange glitch whereby a user who logs out will still see his or her...
more »

2017-01-18 00:01 (1) Answers

Rails: Partly caching a nested form

I have a complex nested form which takes a few seconds to load when it's not cached. The hidden id fields look like this: <input type="hidden" value="1" name="user[properties_attributes][0][id]"> <input type="hidden" value="2" name="user[pr...
more »

2017-01-18 00:01 (0) Answers

cache api data using sw-toolbox

I am using sw-toolbox to cache all the resources. However, I am not able to figure out how to cache api response data. I could use indexDb or internal storage for the same. Just curious to know, can I just cache it using service worker? I tried usin...
more »

2017-01-17 18:01 (0) Answers