-
Notifications
You must be signed in to change notification settings - Fork 999
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Adjusted the timeout and caching of images. - Cleans up cached image URLs if needed. - When offline, now replaces an uncached image with a blank image, to avoid the broken image. - When online, now loads the remote image if no cached image. - Experimented with using cleaner cache filenames, but that wasn’t needed (it initially looked like the MD5 was changing between invocations). - Now uses “jpeg” for the cache extension, since the image URL can have parameter junk that messes with caching.
- Loading branch information
Showing
8 changed files
with
68 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -747,6 +747,8 @@ | |
177551DF238E228A00E27818 /* Old NewsBlur Latest.appex in Embed Foundation Extensions */ = {isa = PBXBuildFile; fileRef = 177551D3238E228A00E27818 /* Old NewsBlur Latest.appex */; platformFilter = ios; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; }; | ||
177D017D28B05D9500F2F2DB /* StoryPagesCollectionCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 177D017C28B05D9500F2F2DB /* StoryPagesCollectionCell.swift */; }; | ||
17813FB723AC6E450057FB16 /* WidgetErrorTableViewCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = 17CE3F0523AC529B003152EF /* WidgetErrorTableViewCell.xib */; }; | ||
1781B97F2C9D332B00C8F344 /* blank.png in Resources */ = {isa = PBXBuildFile; fileRef = 1781B97E2C9D332B00C8F344 /* blank.png */; }; | ||
1781B9802C9D332B00C8F344 /* blank.png in Resources */ = {isa = PBXBuildFile; fileRef = 1781B97E2C9D332B00C8F344 /* blank.png */; }; | ||
178552492A1F115800A8CD92 /* FeedDetailTableCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 178552472A1F115800A8CD92 /* FeedDetailTableCell.m */; }; | ||
1785524A2A1F115800A8CD92 /* FeedDetailTableCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 178552472A1F115800A8CD92 /* FeedDetailTableCell.m */; }; | ||
1785524C2A21693300A8CD92 /* FeedDetailLoadingView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1785524B2A21693300A8CD92 /* FeedDetailLoadingView.swift */; }; | ||
|
@@ -1547,6 +1549,7 @@ | |
177551DC238E228A00E27818 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; }; | ||
177551E3238E26BF00E27818 /* Widget Extension.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = "Widget Extension.entitlements"; sourceTree = "<group>"; }; | ||
177D017C28B05D9500F2F2DB /* StoryPagesCollectionCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = StoryPagesCollectionCell.swift; sourceTree = "<group>"; }; | ||
1781B97E2C9D332B00C8F344 /* blank.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = blank.png; sourceTree = "<group>"; }; | ||
178552472A1F115800A8CD92 /* FeedDetailTableCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FeedDetailTableCell.m; sourceTree = "<group>"; }; | ||
178552482A1F115800A8CD92 /* FeedDetailTableCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FeedDetailTableCell.h; sourceTree = "<group>"; }; | ||
1785524B2A21693300A8CD92 /* FeedDetailLoadingView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FeedDetailLoadingView.swift; sourceTree = "<group>"; }; | ||
|
@@ -2878,6 +2881,7 @@ | |
FFB1F69C1FBD1B2D001DA171 /* white_fade.png */, | ||
FF9D59331FBC08DB00823C10 /* Shiloh.jpg */, | ||
17E2AEB22863FECF000FAB5B /* Lyric.jpg */, | ||
1781B97E2C9D332B00C8F344 /* blank.png */, | ||
FF3FA8941BB26B6A001F7C32 /* [email protected] */, | ||
FF83FF121FB54692008DAC0F /* g_icn_buffer.png */, | ||
FF83FF0E1FB54691008DAC0F /* g_icn_eating.png */, | ||
|
@@ -4441,6 +4445,7 @@ | |
175792042930605500490924 /* theme_color_dark-sel.png in Resources */, | ||
175792052930605500490924 /* [email protected] in Resources */, | ||
175792062930605500490924 /* g_icn_offline.png in Resources */, | ||
1781B9802C9D332B00C8F344 /* blank.png in Resources */, | ||
175792072930605500490924 /* triangle.png in Resources */, | ||
175792082930605500490924 /* [email protected] in Resources */, | ||
175792092930605500490924 /* [email protected] in Resources */, | ||
|
@@ -4867,6 +4872,7 @@ | |
FF83FF1A1FB54693008DAC0F /* g_icn_buffer.png in Resources */, | ||
17E2AEDD286556CC000FAB5B /* icons8-security-wi-fi-100.png in Resources */, | ||
17432C7A1C533DCC003F8FD6 /* FeedChooserViewController.xib in Resources */, | ||
1781B97F2C9D332B00C8F344 /* blank.png in Resources */, | ||
FFDD847F16E887D3000AA0A2 /* [email protected] in Resources */, | ||
1740C6881C10FD75005EA453 /* theme_color_dark.png in Resources */, | ||
FFDD848016E887D3000AA0A2 /* g_icn_hidden.png in Resources */, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.