Share Redis deliberately: use private access, unique key prefixes, restricted ACL commands, and capacity planning for cache, sessions, and queues.
Tag Archives: cache
How to Wrap Mixed CJK and English Text in Generated Images
The main lesson is simple: mixed Japanese, Chinese, Korean, and English text needs more than ordinary word wrapping. A reliable image renderer must choose a font with the right glyphs, preserve Latin words, allow CJK text to break between characters, and invalidate old cached images after the logic changes. Why normal wrapping fails English text Continue reading “How to Wrap Mixed CJK and English Text in Generated Images”
Why PHP Can Keep Running Old Code After Deployment
A deployment can update PHP files while OPcache keeps serving older compiled code. Learn how to identify and fix the mismatch safely.
How to Enforce JSON Schema in an AI Playground
Make AI playground output predictable by loading the correct prompt version, passing its JSON Schema through the runtime, enforcing strict structured output, and versioning cache keys.
Understanding the interaction between fastcgi_cache_valid and inactive in fastcgi_cache_path
Understanding the interaction between fastcgi_cache_valid and inactive in fastcgi_cache_path can indeed be a bit confusing. Let’s break down how these two directives work and how they affect cache expiration and regeneration.
How to clear nginx cache manually ?
Normally I like to do manually job. assume that the default path of your nginx cache is /var/cache/nginx This will clear all your cache in one line. Delete a single file from nginx cache If you just want to delete a single file from nginx cache, you can try this. Then it will show something Continue reading “How to clear nginx cache manually ?”
