Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent caching issue with Fanfiction.Net #1118

Closed
Kiradien opened this issue Nov 23, 2023 · 1 comment
Closed

Inconsistent caching issue with Fanfiction.Net #1118

Kiradien opened this issue Nov 23, 2023 · 1 comment

Comments

@Kiradien
Copy link
Collaborator

As of an apparent server maintenance a few weeks ago, Fanfiction.net has had inconsistent caching failures resulting in a "Chapter not found" error. An alternative link exists to access data when the cache is not loaded, however it can cause issues if constantly accessed directly.

Steps to reproduce the behavior:

  • Consistent reproduction is difficult, as this is a caching issue on the server end. Suggested fix using shortened Uri forces cache to engage within 15 minutes.
  • Random novels will be "missing" a chapter when stepping through.

Additional context
Replacing url with /(https?://(?:www.)?\w+.\w+/s/\d+/\d+)/[a-z-0-9]+/i[1] resolves to base page and updates server cache. Constant replacement of url for every page load puts extra load on server.

Chapters added when Fanfiction.net was having server issues appear to have a higher consistency of cache failures. Example chapter: https://www.fanfiction.net/s/14128289/69/A-Darker-Path
Appearances may be deceiving, not 100% confident on this issue.

Have a fix at 123e3e3 - still devtesting. It worked without the rateLimitDelay repeat, however have been unable to get a consistent second test yet.

@Kiradien
Copy link
Collaborator Author

PR in place with fix #1119

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant