Questions tagged as 'cache'

1
answer

OutputCache only valid at controller level?

I have read the article: link And I started using the: [OutputCache(Duration = 60, VaryByParam = "none")] When I put it in the controller I notice the difference clearly. But when I'm using a library that is called by my control...
asked by 18.03.2016 / 15:02
2
answers

Asp.net MVC cache doubt

I have the following scenario: Public ActionResult ProdutoFornecedor01() { var produtos = _db.Produtos.Include(x => x.Fornecedor).OrderByDescending(x => x.ProdutoId).Where(x => x.Fornecedor.Id == 1).Take(10); return PartialV...
asked by 23.12.2014 / 22:59
1
answer

Alternative methods for storing in Application Server

Good Afternoon Personal, I would like some suggestions for alternative ways of accessing data on an application server, more specifically a JBoss 6. It occurred that I have an application hosted on a JBoss 6 and I need from time to time to retri...
asked by 17.09.2014 / 21:48
1
answer

How to reduce JSF application CPU consumption

From time to time, my application started to have a very large CPU consumption. I installed JProfiler, and from what I understand of it, there is a problem with hibernate's c3p0. I'm using hibernate 4.3, jsf2.2.10 + primefaces 5.2, use ehcache a...
asked by 29.08.2018 / 00:24
1
answer

Automatic expiration cache time

I am using the function below to store the cache was working normal, but now when add the time of 60min is as if it expired automatic, now if I enter a time greater like 181min the cache is maintained. If anyone can help me, I'm grateful. H...
asked by 17.07.2017 / 22:50
1
answer

Write WebView history / cache

I am mounting a WebView application, where the first screen is login . I would like the login and password fields to be saved, so when the user close the app this data would not be lost.     
asked by 02.04.2017 / 20:57
1
answer

Page cache is not expiring

I'm using caches_page in a controller in my rails 4 application. caches_page :index, expires_in: 10.minutes I need to make this controller run again after 10 minutes and generate a new page. When I squeeze this in the production environment...
asked by 25.06.2016 / 02:10
0
answers

Cache - Angularjs

I have an application angularjs (1.xx) / php that every version update, some users who use Firefox in the latest version, are required to run CTRL + SHIFT + R to clear the cache and get the updated version of application. What would be the ideal...
asked by 06.10.2017 / 15:25
0
answers

Deploy laravel 5.2 FTP

I published my first laravel project via FTP, to understand how the structure works inside a server. I uploaded everything inside the folder www and created a .htaccess in the root to reference the public folder of laravel, so far everything...
asked by 13.07.2016 / 21:54
0
answers

Cache: How to use mod_headers

I have a Nginx server in a shared environment where it is not possible to enable max-age because it is part of mod_expires , which is only available in a dedicated environment. I was instructed by the support to use mod_head...
asked by 15.10.2015 / 05:24