Page Caching Problem

Had a user today complain about a custom menu not displaying correctly when a page had been redrawn. He said he added Pragma=no-cache, Expires=-1 and Cache-Control=no-cache META tags but it still wouldn’t refresh the page unless the user hit F5.

 Anyway, the problem turned out to be bad ending HTML tags, seems you need to ensure that you add /> to your meta tags otherwise they get ignored and the page content will not be refreshed.

Here’s a sample of how the meta tags should look:

<META http-equiv=”Pragma” content=”no-cache”/>
<META HTTP-EQUIV=”Cache-Control” CONTENT=”no-cache”/>

DHTML Menu Downloads

Just had a fantastic idea for the menu downloads.

As we are currently re-building our website I have decided to rebuild the download system as well. This is going to be even more dynamic than the current download system we use, creating downloads on the fly based on licensing info but with a twist.

The new menu download system will allow you to choose different themes and also make modifications to your standard download before it is actually built. This should hopefully limit the number of samples we have to store as you will be building dynamic menus before you download them.

Better get my thinking cap on and bury my head in some code.