Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...If-Modified-Since HTTP headerIf-Modified-Since HTTP header
Previous
 
Next
New Post
8/5/2008 5:41 PM
 

In the Google Webmaster technical guidelines the following statement is made "Make sure your web server supports the If-Modified-Since HTTP header. This feature allows your web server to tell Google whether your content has changed since we last crawled your site. Supporting this feature saves you bandwidth and overhead."

How do we add this functionality to DotNetNuke?

 
New Post
8/7/2008 7:13 PM
 

it's added automatically by IIS i.e. if i view an image on dotnetnuke.com I can see

GET /images/spacer.gif HTTP/1.1

Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/xaml+xml, application/vnd.ms-xpsdocument, application/x-ms-xbap, application/x-ms-application, application/x-silverlight, application/x-silverlight-2-b2, */*

Referer: http://www.dotnetnuke.com/

Accept-Language: en-gb

UA-CPU: x86

Accept-Encoding: gzip, deflate

If-Modified-Since: Tue, 03 Jun 2008 16:52:36 GMT

If-None-Match: "0227a399ac5c81:2a7"

 


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
7/8/2011 10:53 PM
 
7/8/2011 - DNN 5.6.2
To cathal connolly: You are talking about .. in IIS, right-click on a website name & choose Properties on the menu... which opens the website's Properties window.
On the HTTP Headers tab it normally says "expire after 30 days".
What Mike Lawell is talking about is a specific If-Modified-Since HTTP header in DNN.
Since DNN websites are drawn from a SQL DB, it is likely impossible for IIS to identify a date when a Tab has been changed.

The Importance of having a correct & current If-Modified-Since header is shown on https://www.google.com/support/webmasters/bin/answer.py?answer=35769

Evidence that DNN does not currently support the reporting of when a tab has been updated is by taking the test at http://www.feedthebot.com/tools/if-modified/
and his basic info is at http://www.feedthebot.com/ifmodified.html

So will the DNN Core Staff please consider this as a Feature Request to include the If-Modified-Since header on all page requests.

BarryZ
www.1usa.com
 
New Post
7/9/2011 6:30 AM
 
It is almost impossible for dnn itself to actually know when a page has changed - in reality its easier
to assume that the content is always changing.
There are just so many possible factors involved - be it the simple change of current date or 
any variety of content from any number of modules ... each which contribute their content independently of each other.
The DNN core has no real mechanism to make a determination about this sort of thing.

Westa
 
New Post
7/10/2011 12:20 AM
 
After updating to DNN 5.6.2, in the Text-html module, when you are editing, there now appears a Version History with a date last edited... at the bottom of the edit screen before you save your changes. If there is only one Text-html module on a page, or if there are multiple modules on a page, wouldn't it be possible to update the Page's Page Settings properties with a date every time you click to update a module on a page?
Yes, it won't be accurate for all pages, but at least it would show the search engines that the website is being edited from time to time.

The date on the Page Settings properties can then be published as the If-Modified-Since header. Partial search engine compliance is better than none.

Each Page Settings tab already has a "Last Updated By System On 6/18/2011 8:14:46 AM"
Maybe this alone can be published as the If-Modified-Since header ??

BarryZ
1USA
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...If-Modified-Since HTTP headerIf-Modified-Since HTTP header


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out