Tag: cache control

Free SSL/TLS for your web site, Caching options for your web site

Free SSL/TLS for your web site, Caching options for your web site


What is ssl and tls. – https://en.wikipedia.org/wiki/Transport_Layer_Security
Auto ssl in cpanel – https://blog.cpanel.com/autossl/
Other free SSL sites – Lets encrypt https://letsencrypt.org/
Google will penalize page rankings if SSL is not used as well as mark pages without HTTPS as non-secure.


In episode one we discussed gzip compression and using cache control headers (expires and headers) to improve website speed.
Now we are going to take it a little farther and discuss more caching options for your site.

A web cache (or HTTP cache) is an information technology for the temporary storage (caching) of web documents, such as HTML pages and images, to reduce bandwidth usage, server load, and perceived lag. A web cache system stores copies of documents passing through it; subsequent requests may be satisfied from the cache if certain conditions are met.[1] A web cache system can refer either to an appliance, or to a computer program.

Source wikipedia -https://en.wikipedia.org/wiki/Web_cache

2 WordPress specific caching plugins that I have used.

w3 total cache – https://wordpress.org/plugins/w3-total-cache/
wp super cache – https://wordpress.org/plugins/wp-super-cache/

Common features of both.

– PHP caching.
– Compress pages.
– Don’t cache pages for known users.
– Cache rebuild.
– CDN support.
– Extra homepage checks.

Cloud flare -https://www.cloudflare.com/

Cloud Flare is software as a service cache.

Free plan has many options and features that you will want to use.

– Auto Minify
– Page Rules – custom define patterns for your site. for exmaple lock down wp-admin with custom rules.
– apps – add your google analytics code to every page automatically, even error pages. – https://www.cloudflare.com/apps/
– force ssl and version of ssl, even if you don’t have a ssl cert a free one can be provided
– spdy or http2 integration.
– allow for ipv6 to be used
– access rules, define rules based on IP or Country to use a captcha to see your site.
– AMP (accelerated mobile pages) automatically
– scrape shield – email obfuscation, hotlink protection.
– Always online – if your service provider has a issue, a static version of your site will still be online for pages that have been visited and are sitting in cache.

If your web hosting provider is a cloud flare partner, then you may have immediate access right now to cloud flare inside of cPanel. It is quick and easy to get setup.

If you have show topic suggestions, recommendations or want to be on the show follow this link

Picking a web host, gzip compression, expires and headers

Picking a web host, gzip compression, expires and headers

Web Hosting Podcast: Episode 1

What is it you are going to be hosting?  A Blog, eCommerce website, funny cat pictures or something that is mission critical and requires 100% uptime?  Depending on the answer there could be millions of different options….. Current google search for “Web Hosting” results in 115 Million results.  How do you sort out the good options from the bad options?

  • Top eight (8) things to watch for when choosing a web host
      1. Know your hosting needs.
      2. Investigate on host reliability and uptime guarantees.
      3. Study web host upgrading options.
      4. Check all hosting features (such as number of addon domains allowed) based on your needs.
      5. Check prices on both sign up and renewal.
      6. Check hosting control panel.
      7. Read hosting company’s ToS to find out more about account suspension and server usage policy.
      8. Other supporting features (ie. site backup, environmental friendliness, etc)
  • Gotchas to avoid – don’t fall for the “buffet” or “unlimited” plans.
  • Check their knowledge base or documentation
  • Do they have shared values with you or your business i.e. B corporation

Final tips and info:
Price – do not go for the cheapest option.  You get what you pay for!!
Do they provide one click installers for popular programs?
Do they provide a site builder application free of charge? If you use their site builder can you move your site to another host?
Do they offer the services you need for future proofing?


Expires and Headers:

Setting headers on images and other file types to prevent re download.

  • Speeds site up. Typically users leave a site if it is slow to load after 2 seconds.
  • Will save bandwidth and save you $$, just like gzip compression.
  • Will increase your page ranking by having a faster site load time.
  • The Longer you set the expire time the longer the file will stay in the browsers cache.
  • Issue: may change your workflow. Elements need to have new names if replacing the same element.

Add the following lines to your .htaccess file to enable Header Cache-Control.  Add your own file types in the FilesMatch area.

# 3 Months

Header set Cache-Control “max-age=7257600”

# 1 Week

Header set Cache-Control “max-age=604800”




Gzip compression:

What is it!?
Gzip is a method of compressing files (making them smaller) for faster network transfers. It is also a file format. Compression allows your web server to provide smaller file sizes which load faster for your website users. Enabling gzip compression is a standard practice.

Why would you want to enable it?

  • Saves your bandwidth.
  • Can make your site load quicker.

How to enable it in cPanel, the great missing menu.

  • Optimize Website inside of your cPanel account.

Verify it is working a the following links.

Mime Types:

If you have show topic suggestions, recommendations or want to be on the show follow this link