; ============================================ ; SpeedUp Cache Configuration v1.8.1 ; ============================================ ; Debug mode: 0 - disabled, 1 - enabled debug=0 ; Debug for specific IP only ; debug_ip="xxx.xxx.xxx.xxx" ; ============================================ ; URL EXCLUSIONS ; ============================================ ; Patterns: ; /xxx/ - exact match ; /xxx* - starts with /xxx ; *xxx* - contains xxx ; *xxx - ends with xxx exclude_urls[]="*route=checkout/cart" exclude_urls[]="*route=common/cart/info" exclude_urls[]="*route=checkout*" exclude_urls[]="*route=account*" exclude_urls[]="/admin*" exclude_urls[]="/wp-admin*" exclude_urls[]="*wp-login*" exclude_urls[]="*/cart*" exclude_urls[]="*/checkout*" exclude_urls[]="*/my-account*" ; ============================================ ; COOKIE EXCLUSIONS ; ============================================ exclude_cookies[]="wordpress_logged_in_*" exclude_cookies[]="joomla_user_state" exclude_cookies[]="PrestaShop-*,800" exclude_cookies[]="secure_customer_sig,5" exclude_cookies[]="woocommerce_cart_hash" exclude_cookies[]="woocommerce_items_in_cart" exclude_cookies[]="opencart" exclude_cookies[]="PHPSESSID,100" ; ============================================ ; HTTP STATUS CODES ; ============================================ skip_http_response_code[]=404 skip_http_response_code[]=500 skip_http_response_code[]=503 skip_http_response_code[]=302 skip_http_response_code[]=301 ; ============================================ ; CONTENT RULES ; ============================================ skip_content[] = '/(?:\b|-)([1-9]{1,2}[0]?|100)<\/span>/i' skip_content[] = '/class="logged-in"/i' remove_content[]='(0)' ; ============================================ ; CACHE SETTINGS ; ============================================ ; Default expiration time in minutes (0 = never) ; 44640 = 31 days exptime=44640 ; Only cache pages with tag htmlonly=1 ; Add loading="lazy" to images lazyloading=1 ; Maximum cache size in megabytes max_cache_size_mb=500 ; ============================================ ; [v1.8.1] MINIMUM CONTENT SIZE ; ============================================ ; Minimum page size in bytes to be cached ; Pages smaller than this will NOT be saved to cache ; Existing cache files smaller than this will be auto-deleted ; Default: 1000 bytes ; Recommended: 100-1000 bytes (typical HTML page is 10KB+) min_content_size=1000 ; ============================================ ; [v1.8] IGNORE TRACKING PARAMETERS ; ============================================ ; Remove UTM and tracking params from cache key ; This prevents duplicate cache for same page with different tracking params ; Example: /page and /page?utm_source=google will use same cache ignore_tracking_params=1 ; Additional params to ignore (built-in: utm_*, fbclid, gclid, etc.) ; ignore_params[]="custom_param" ; ignore_params[]="ref" ; ============================================ ; [v1.8] GZIP COMPRESSION ; ============================================ ; Save gzip-compressed version of cache files ; Reduces disk space by ~70% and speeds up delivery gzip_enabled=1 ; Compression level (1-9, higher = smaller but slower) gzip_level=6 ; ============================================ ; [v1.8] ADAPTIVE TTL ; ============================================ ; Different TTL for different URL patterns (in minutes) ; More specific patterns have higher priority ; Example: /blog/breaking/* will use its TTL, not /blog/* ; Homepage: 1 hour (frequently updated) ttl_rules["/"]="60" ; Blog posts: 7 days (rarely change after publish) ttl_rules["/blog/*"]="10080" ; News: 1 day ttl_rules["/news/*"]="1440" ttl_rules["/page/*"]="1440" ; Products: 3 days (price/stock may change) ttl_rules["/product/*"]="4320" ttl_rules["/tovar/*"]="4320" ; Categories: 1 day (new products added) ttl_rules["/category/*"]="1440" ttl_rules["/katalog/*"]="1440" ; Static pages: 31 days ttl_rules["/about"]="44640" ttl_rules["/contact"]="44640" ttl_rules["/contacts"]="44640" ; API/AJAX: very short or exclude ; ttl_rules["/api/*"]="5"