Skip to main content

Controlling Caching Of Your Blog

If you have a blog that you update frequently (multiple times / day) with high impact content, you'll be wanting your readers to see your updates, promptly.

Thanks to the caching policies of the readers browser, this may not happen consistently. You may also be concerned with your reader being confused about discrepancies between "yourblog.blogspot.com" and "www.yourblog.blogspot.com" - this too is a caching issue.

There is a way around the caching problem, but consider this carefully.

If you want your blog to not be cached, at all, you can prevent caching. Add 5 meta tags into the header of the blog, by editing the blog template.
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
<META HTTP-EQUIV="Pragma-directive" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Directive" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="0">


Think about this carefully though. Using cache is a general Internet principle.

When you surf the same page, repeatedly, you do not want your browser reloading every page that you surf, each time you surf to it, when the page hasn't been changed.

Caching is an efficiency feature. Some surfers will even restrict visits to your page, intentionally, if they notice that your page reloads each time they visit it, but with the same old content.

So only use this if the contents of your blog make it meaningful. Think of your readers, and ask yourself
Will my readers want to load my blog, over and over, each time?
If you can't answer "YES", confidently, don't do this.

Comments

Popular posts from this blog

Add A Custom Redirect, If You Change A Post URL

When you rename a blog, the most that you can do, to keep the old URL useful, is to setup a stub post , with a clickable link to the new URL. Yo! The blog is now at xxxxxxx.blogspot.com!! Blogger forbids gateway blogs, and similar blog to blog redirections . When you rename a post, you can setup a custom redirect - and automatically redirect your readers to the post, under its new URL. You should take advantage of this option, if you change a post URL.

What's The URL Of My Blog?

We see the plea for help, periodically I need the URL of my blog, so I can give it to my friends. Help! Who's buried in Grant's Tomb, after all? No Chuck, be polite. OK, OK. The title of this blog is "The Real Blogger Status", and the title of this post is "What's The URL Of My Blog?".

Blogger Magic - Adding Label Search URLs

One of the simplest ways to make a blog useful is to add label searches. Adding label searches, in page / post text, is not easy - unless you know how to build the URLs. Here's a label search from this blog. http://blogging.nitecruzr.net/search/label/Blogger%20Magic All that I want, when using that label search, is to add another reference to my "Blogger Magic" post series. " Blogger Magic " emphasises how easy it is, to use Blogger. How easy is it, to remember that syntax - to add a label link? Maybe, a " Blogger Magic " reference, in this post?