framework:
    cache:
        # Unique name of your app: used to compute stable namespaces for cache keys.
        #prefix_seed: your_vendor_name/app_name

        # The "app" cache stores to the filesystem by default.
        # The data in this cache should persist between deploys.
        # Other options include:

        # Redis
        #app: cache.adapter.redis
        #default_redis_provider: redis://localhost

        # APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)
        #app: cache.adapter.apcu

        # Namespaced pools use the above "app" backend by default
        #pools:
            #my.dedicated.cache: null

        # Configuración para hosting compartido - usar filesystem
        app: cache.adapter.filesystem
        system: cache.adapter.system
        
        # Pools optimizados para hosting compartido con caché de 1 año
        pools:
            cache.pages:
                adapter: cache.adapter.filesystem
                default_lifetime: 31536000 # 1 año
                
            cache.fragments:
                adapter: cache.adapter.filesystem
                default_lifetime: 31536000 # 1 año
                
            cache.portfolio:
                adapter: cache.adapter.filesystem
                default_lifetime: 31536000 # 1 año
                
            cache.services:
                adapter: cache.adapter.filesystem
                default_lifetime: 31536000 # 1 año
                
            cache.contact_forms:
                adapter: cache.adapter.filesystem
                default_lifetime: 300 # 5 minutos para formularios
