add .env.example

This commit is contained in:
Profile Profile
2025-12-15 11:55:48 +03:00
parent abe55943fc
commit 13bd7de68e
2 changed files with 8 additions and 4 deletions

8
.env.example Normal file
View File

@@ -0,0 +1,8 @@
WP_GRAPHQL_ENDPOINT=https://api.profile.ru/graphql
# Включение/выключение кэширования
CACHE_ENABLED=true
# TTL для разных типов
CACHE_TAXONOMY_TTL=3600 # 1 час для тегов, категорий
CACHE_POSTS_TTL=60 # 1 минута в dev