Skip to content

Commit

Permalink
Item8304: added cache expire header to try to solve problems with IE
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk/SkillsPlugin@5224 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
CrawfordCurrie authored and CrawfordCurrie committed Oct 7, 2009
1 parent 00e850d commit dbb50b5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
1 change: 1 addition & 0 deletions data/System/SkillsPlugin.txt
Expand Up @@ -138,6 +138,7 @@ Next:
| Plugin Release: | %$RELEASE% |
| Plugin Version: | %$VERSION% |
| Change History: | <!-- versions below in reverse order -->&nbsp; |
| 7 Oct 2009 | Foswiki:Tasks:Item8304: added cache expiry header to help IE |
| 30 Sep 2009 | Foswiki:Tasks:Item8295: IE fixes |
| 14 Sep 2009 | Various minor bugfixes and enhancements |
| 28 Jul 2009 | Foswiki:Tasks.Item8223: bare metal rewrite to support deep taxonomies. -- Foswiki:Main.CrawfordCurrie |
Expand Down
8 changes: 5 additions & 3 deletions lib/Foswiki/Plugins/SkillsPlugin.pm
Expand Up @@ -27,7 +27,7 @@ use Foswiki::Plugins::SkillsPlugin::SkillNode ();

# Plugin Variables
our $VERSION = '$Rev$';
our $RELEASE = '30 Sep 2009';
our $RELEASE = '7 Oct 2009';
our $NO_PREFS_IN_TOPIC = 1;
our $SHORTDESCRIPTION =
'Allows users to list their skills, which can then be searched';
Expand Down Expand Up @@ -1018,7 +1018,8 @@ sub returnRESTResult {
$response->header(
-status => $status,
-type => 'text/plain',
-charset => 'UTF-8'
-charset => 'UTF-8',
-expires => 'now',
);
$response->print($text);
}
Expand All @@ -1034,7 +1035,8 @@ sub returnRESTResult {
-status => $status,
-type => 'text/plain',
-charset => 'UTF-8',
-Content_length => $len
-Content_length => $len,
-expires => 'now',
);
print $text;
}
Expand Down
3 changes: 2 additions & 1 deletion pub/System/SkillsPlugin/editAllSkills_src.js
Expand Up @@ -124,7 +124,8 @@ SkillsPlugin.editAllSkills = function () {
function() {
var elSubmit = document.getElementById(
"editall-skills-submit");
elSubmit.addClass("foswikiSubmit");
var yel = new YAHOO.util.Element(elSubmit);
yel.addClass("foswikiSubmit");
}, this, true);
inp.size = 15;
};
Expand Down

0 comments on commit dbb50b5

Please sign in to comment.