if you are managing multi sites in a server. unable install cache plugin for every wordpress,
then install google pagespeed module
W3tc genratal settings for enabling features
-
Page Cache |
-
Minify | Manual recommended
-
Opcode Cache | (enabled by default)
-
Database Cache |
-
Object Cache |
-
Browser Cache | CDN
Page cache:
main reason exist of cache plugins.
converting dynamic pages into static pages.
Dashboard>>w3tc>>page cahce: enable
disable for logged users and some advanced settings.
Preload: sitemap based.
expiration: 7 days🤔.(based in content type)
Database cache:
caching database locally if you are connecting remote server through TCP. Then it’s usefull by default we use localhost so
nothing to do.
object cache:
lifetime of object caches 180 seconds default
Browser cache:
-
Set Last-Modified header
Set the Last-Modified header to enable 304 Not Modified response.
-
Set expires header
Set the expires header to encourage browser caching of files.
-
Set cache control header
Set pragma and cache-control headers to encourage browser caching of files.
-
Set entity tag (ETag)
Set the ETag header to encourage browser caching of files.
-
Set W3 Total Cache header
Set this header to assist in identifying optimized files.
-
Enable HTTP (gzip) compression
Reduce the download time for text-based files.
Apply the same settings for HTML CSS JS and xml
Useragents goruiop helps pass the users to diffent theme. (ex: mobile users to mobile theme)
Referal grouops search engines yahoo, google based on condion uses the theme.
CDN
: onclick upload to cdn media attachments and other css, js only for pushzone. full zone cdsn automatically caches based on the file
W3 total extensions.
AMP
: No additional settings just activate it.
cloudflare extension with w3tc best settings
: configure with cloudflare enter the global api and select the site.
cache time:
How many minutes data retrieved from CloudFlare:should be stored. Minimum is 1 minute.
i set it for 4 hours.
cache level: agrressive
Basic: only static files css,js
simplified cache; igonrers query string
Rocketloader off: it loads js asyncrounsly atuomatically may be some issues with adense. also the all js are now asynch defer load on wp.
minfiny js, css, html
cloudflare also do the file optimization if it caches.
we also enable the minify at clouflare.
security level low if
ssl is flexible
Minify blank screen with w3tc
I don’t use minify with w3tc but cloudflare will do. W3tc always breaks the site when minify enabled.
we should properly minify or all themes have minify versions like min.js .min.css
we also manually compress the css (recommended). & Upload to directory.
yoast seo extensions
just activate no additional settings required
Minify
Minify Settings – General, HTML & XML
– Rewrite URL structure – Check
– Disable minify for logged in users
Minify Settings – HTML and XML
– Enable – Check
– Inline CSS minification – Check
– Inline JS minification – Check
– Don’t minify feeds – Check
– Line break removal – Uncheck
Minify Settings – JS CSS
– JS minify settings – Check
– Operation in area – Minify
– Embed Type – Non-blocking using async
– All other options – Uncheck
– CSS minify settings – Enable
– Combine only – Disable
– Preserved comment removal – Disable
– Line break removal – Enable
– @import Handling – Process
https://www.wpcub.com/w3-total-cache-settings/
UIninstall guideline’ completley
Turnoff all caches, minify from w3 total cahce dashboard.
remove files
– w3-total-cache-config.php
– db.php
– advanced-cache.php
delete folders
– w3tc
– w3tc-config
wp-contnent/cache/
linux command to remove
rm -rf object page tmp db log minify tmpwpfc wpfc-minifed
sub directories & files
rm -rf tmpwpfc wpfc-minifed
wpfastet cache plugin
db, page enahanced etc, minify cahce, object cahce, tmp
check .htacesss
check wp-config php
define (WP_CACHE’, true) cahnge it it false if you don’t have any caching plugins
Minfy & combine CSS JS
wp rocket vs w3tc free
Wp rocket won’t store pagecache in redis or memcached unless you add redis addon.
w3 total cache pro vs free
#99 / year
Fragment Caching: caching through wordpress transients.
Extension Framework:
premium extensions like genesis,clouflare, nginx etc
w3 total cache pro vs wp super cache
wp super cache very simpls, it has less & important feature like page caching with preload, cdn integration. Browser caching.