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

Stats Components Are Significant, In Their Own Context

One popular Stats related accessory, which displays pageview information to the public, is the "Popular Posts" gadget.

Popular Posts identifies from 1 to 10 of the most popular posts in the blog, by comparing Stats pageview counts. Optional parts of the display of each post are a snippet of text, and an ever popular thumbnail photo.

Like many Stats features, blog owners have found imaginative uses for "Popular Posts" - and overlook the limitations of the gadget. Both the dynamic nature of Stats, and the timing of the various pageview count recalculations, create confusion, when Popular Posts is examined.

Help! I Can't See My Blog!

I just posted to my blog, so I know that it's there. I can tell others are looking at it. But I can't see it.

Well, the good news is you don't have a blog hijack or other calamity. Your blog is not gone.

Apparently, some ISPs are blocking *.blogspot.com, or maybe have network configuration or infrastructure problems. You can access Blogger.com or you can access Blogspot.com, but you can't access nitecruzr.blogspot.com, or bloggerstatusforreal.blogspot.com.

You can't access them directly, that is. If you can access any free, anonymous proxy servers, though, you may be able to access your blog.

Note: You can use PKBlogs with the URL pre packaged. Here is the address of this post (with gratuitous line breaks to prevent the old post sidebar alignment problem):
http://www.pkblogs.com/bloggerstatusforreal.blogspot.com/
2006/07/help-i-cant-see-my-blog.html


And an additional URL, to provide to those suffering from this problem, would be the WordPress version of this post:
ht…