Advanced Search
Search Results
77 total results found
Performance Strategy
CDN for assets Full page cache such as Batcache Fragment caching for menus Longcache for lower traffic sites.
Types of tests
Unit Tests: Test individual code components in isolation. Functional Tests: Validate overall functionality of modules or systems. Acceptance Tests: Verify software meets stakeholder requirements for deployment.
Time Since Last Resume
This has been moved to https://github.com/svandragt/break-aware
Performance
When migrating content, suspend cache invalidation and flush the cache afterwards. With that in mind, the following optimisation reduces the number of database queries to 1: - $post_data = [ - 'ID' => $post_id, - 'post_content' => $content, - ]; - - $up...
WP-CLI
To download all attachment files from a remote site: from your local uploads directory: wp post list --post_type=attachment --field=_wp_attached_file | xargs -I {} wget -x -nH --cut-dirs=2 "https://$DOMAIN/wp-content/uploads/{}"