Q: Static Content Caching and CDN
- Question for experts and developers, how to organize caching of static content in FluentCommunity (and even FluentBoards), provided that caching plugins like LiteSpeed Cache or WP Rocket are disabled, but Redis Object Cache is running.
- How will the CDN work with FluentCommunity given its highly dynamic nature? Will it exclusively pick up static content? Is it possible to use a CDN?
#CDN #cache #question
Response from one of the CDN service providers (excerpt)
CDN (Content Delivery Network)
By default, the CDN will cache only static resources on pages with dynamic content, specifically:
- Images (JPG, PNG, GIF, WebP, etc.)
- JavaScript files (JS)
- CSS files
- Fonts (WOFF, WOFF2, TTF, etc.)
- PDF documents
- Media files (video, audio)
- Other static resources with corresponding MIME types
How CDN Handles Dynamic WordPress Content
- Dynamic content is not cached by default - Pages dynamically generated by WordPress will not be automatically cached in the CDN, as they typically contain personalized content and results from plugins like FluentCommunity and FluentBoards.
- Handling FluentCommunity and FluentBoards plugins - Interactive elements of these plugins (forms, discussion boards, community features) are dynamic and will not be cached, ensuring their functionality works correctly.