I have many WordPress websites that hosted on different shared hosting providers. I tried W3 Total Cache different settings in order to get optimized result for my websites. W3 Total Cache is the mother of all caching plugins. The W3 Total Cache settings are different for dedicated and shared hosting! The shared servers do have rules against using too many resources. On the Shared hosting environment, you‘re probably sharing your server with several hundred people. So you have no ability to use more options because of the limitations of the shared hosting provider. Anyway you can choose below w3 total cache settings for shared hosting to increase your website loading time and performance.
- Go to performance General settings Enable Page Cache and change Page cache method to Disk Enhanced (Shared Hosing)
- Enable Browser Cache
- Open Performance – Browser Cache and mark features like below screenshot. Make sure you save all settings before leaving this page.
- Enable “set Last-Modified headerâ€
- Enable “set expires headerâ€
- Enable “set cache control headerâ€
- Disable “Set entity tag (eTag)â€
- Enable “set W3 Total Cache headerâ€
- Enable “HTTP (gzip) compressionâ€
- Disable “Prevent caching of objects after settings changeâ€
- Disable “Disable cookies for static filesâ€
- Disable “Do not process 404 errors for static objects with wordpressâ€
We enabled everything except for the 404. When you save the settings, all settings below on that page will automatically take care of itself.
- Leave CSS & JS, HTML & XML and Media & Other Files settings default
Database cache is only effective on VPS / Dedicated hosting. If you are on a shared hosting, Database cache will slow down your site instead of making it faster
- CDN (Content Delivery Network) is not a free service. Leave this disabled.
- Reverse Proxy: Leave this Disabled.
- Go to performance Page Cache, under general settings enable
- Cache posts page
- Cache feeds: site, categories, tags, comments
- Cache requests only for ‘Your Domain‘ site address
- Don’t cache pages for logged in users
- Don’t cache pages for following users: Tick ‘Administrator‘ only.
I know I didn’t even mentioned about lot of other settings in W3 Total Cache, Leave all default.