English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I usually use inline coding for my asp.net VB pages. But a specific example gave the codebehind, so I decided to try it.. Well I got stuck, panicked, and put the original file back there (inline).. I assumed the change would be instant, but Its still stuck on a piece of code from the previous version with the codebehind.

I hope im making any sense but basically its weird that I cant seem to change the page.. My gut tells me it has something to do with compiling the page but ive never compiled it before. It may have compiled when I used the code-behind for the first time.

Any thoughts would be appreciated

2007-01-20 09:21:01 · 1 answers · asked by TheAnswerGuy 2 in Computers & Internet Programming & Design

1 answers

Place the following meta tags in the HEAD of the HTML





The first 2 are self explanatory the third one would contain a date if you wanted the cache to expire at a certain data/time and would be in the format of
"Mon, 22 Jul 2002 11:12:01 GMT" If it is a '0" it means that the page expires immediately.

I have used the above with good results, but there is no guarranty as you are dealing with unknown browsers with unknown settings........for the most part, you should see good results. As with any GENERATED page, you should use the caching control meta tags in all of them.

Good luck

2007-01-20 14:54:09 · answer #1 · answered by Jeffrey F 6 · 0 0

fedest.com, questions and answers