cache
This commit is contained in:
parent
ab1e85fa98
commit
04f0192a1b
|
@ -25,6 +25,7 @@ import org.apache.commons.logging.LogFactory;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.beans.factory.annotation.Qualifier;
|
import org.springframework.beans.factory.annotation.Qualifier;
|
||||||
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
|
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
|
||||||
|
import org.springframework.cache.annotation.Cacheable;
|
||||||
import org.springframework.data.domain.Page;
|
import org.springframework.data.domain.Page;
|
||||||
import org.springframework.data.domain.PageRequest;
|
import org.springframework.data.domain.PageRequest;
|
||||||
import org.springframework.data.jpa.domain.Specification;
|
import org.springframework.data.jpa.domain.Specification;
|
||||||
|
@ -448,6 +449,7 @@ public class DsmService {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Transactional
|
@Transactional
|
||||||
|
@Cacheable("brosable_terms")
|
||||||
public List<BrowseTerm> browseTerm(final DsmBrowsableFields f) {
|
public List<BrowseTerm> browseTerm(final DsmBrowsableFields f) {
|
||||||
switch (f) {
|
switch (f) {
|
||||||
case type:
|
case type:
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
- Cache
|
|
||||||
- Spinner durante il caricamento
|
|
||||||
- Astrarre le chiamate Ajax con Spinner
|
|
||||||
- Nuove pagine
|
|
Loading…
Reference in New Issue