Skip to content
This repository has been archived by the owner on Oct 15, 2022. It is now read-only.

add --no-cache and --verbose #45

Merged
merged 3 commits into from Oct 30, 2013
Merged

Conversation

moollaza
Copy link
Member

/cc @yegg @russellholt @nospampleasemam

Now that caching has been introduced, it's reasonable that we should have a way to force the requests for all the files, so I've added a --no-cache flag which prevents the cache from being used.

Also, in testing it was difficult to see what was going on, so I've added a --verbose flag to provide useful output.

@@ -164,6 +183,7 @@ sub change_js {
my ( $self, $js ) = @_;
$js =~ s!/([ds])\.js\?!/?duckduckhack_ignore=1&!g;
$js =~ s!/post\.html!/?duckduckhack_ignore=1&!g;
$js =~ s!/post\.html!/?duckduckhack_ignore=1&!g;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this line repeated?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Weird, that line is supposed to be different. Not sure how it ended up that way....

@yegg
Copy link
Member

yegg commented Oct 30, 2013

👍

moollaza added a commit that referenced this pull request Oct 30, 2013
@moollaza moollaza merged commit 4d40704 into master Oct 30, 2013
@moollaza moollaza deleted the zaahir/verbose-and-no-cache branch October 30, 2013 14:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants