Browser Cache not working

253 views
Skip to first unread message

pavanag...@gmail.com

unread,
Jun 9, 2021, 8:54:35 AM6/9/21
to FanFicFare -- Downloader for FanFiction
I've been using the following code

## windows:

### Edge:

browser_cache_path:C:\Users\Paaven\AppData\Local\Microsoft\Edge\User Data\Default\Cache

browser_cache_age_limit:4.0

[www.fanfiction.net]

## browser cache will only be used if use_browser_cache:true and ONLY

## for fanfiction.net right now. Requires a browser_cache_path set in

## [defaults].

use_browser_cache:true


There are 2 stories which I'm attempting to update. I've gone to 1st and last 2 chapters and later used the Pack option in WebtoEpub. All the pages are loading immediately indicating cache. Even then though FFF is throwing error saying error Cloudfare version 2


What to do?

Jim Miller

unread,
Jun 9, 2021, 9:50:58 AM6/9/21
to fanfic-d...@googlegroups.com

- Make sure your browser_cache_path (and browser_cache_age_limit) lines
are under the section [defaults]

- Run with -d to see if there are any debug messages about loading the
cache.

You can also set use_browser_cache_only:true under [www.fanfiction.net]
but that will only prevent FFF from hitting the network, not solve any
issues.

jamie coady

unread,
Jun 9, 2021, 9:27:33 PM6/9/21
to fanfic-d...@googlegroups.com

Hi the only thing I know about cache is that you have to clear it now and again. Is it possible someone could contact me off list to talk me through using it to get my fics? I ask off list so we don’t disturb  others.

 

 

Sent from Mail for Windows 10

--

Project Home: https://github.com/JimmXinu/FanFicFare/wiki

---

You received this message because you are subscribed to the Google Groups "FanFicFare -- Downloader for FanFiction" group.

To unsubscribe from this group and stop receiving emails from it, send an email to fanfic-downloa...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/fanfic-downloader/ca5b292f-c758-062a-89bf-4f967245c703%40gmail.com.

 

Nav

unread,
Jun 9, 2021, 10:20:24 PM6/9/21
to FanFicFare -- Downloader for FanFiction
Hi, I'm the same way. I'm not exactly tech savvy and I'm having problems just finding my browser cache directory. If someone could contact me off-list and help me through the steps as well, that'd really help! Thank you.

pavanag...@gmail.com

unread,
Jun 10, 2021, 2:59:11 AM6/10/21
to FanFicFare -- Downloader for FanFiction
I'm using this code (removed the comments)

[defaults]

browser_cache_path:C:\Users\Paaven\AppData\Local\Microsoft\Edge\User Data\Default\Cache

browser_cache_age_limit:.0

[www.fanfiction.net]

use_browser_cache:true

use_browser_cache_only:true


As I understand the browser cache age limit refers to 4 hours, not 4 minutes.

In that case since I opened all pages within 5 minutes and did in the past half hour, FFF should be able to read. However out of the 12 fics I'm updating, it read it for 4 fics and threw the Cloudfare challenge error for the other 8.

What's the problem

Did not understand what you meant by Run with -d


Jim Miller

unread,
Jun 10, 2021, 10:45:01 AM6/10/21
to fanfic-d...@googlegroups.com

I'm not sure what browser_cache_age_limit:.0 would do. If set to -1,
all cached files will be used.


With use_browser_cache_only:true you shouldn't get any Cloudfare errors,
you should get missing page errors. Have you checked that you don't
have another [www.fanfiction.net] section in personal.ini with different
settings? Are you sure your personal.ini is being read and used (CLI)?

-d is the option to run FFF in debug mode in CLI. I generally assume
people on this list are CLI users.

Calibre can be run in debug mode from the Calibre Preferences dropdown.

In either case, debug output will show more precisely what is going on.

jamie coady

unread,
Jun 10, 2021, 11:21:29 AM6/10/21
to fanfic-d...@googlegroups.com

I don’t no. I used the addon on caliber but seeing as can’t use it with ff.net it seams I need to learn a new way but as I said I don’t know cli or cache apart from you should clear out the cash now and again.

 

 

Sent from Mail for Windows 10

 

From: Jim Miller
Sent: 10 June 2021 15:45
To: fanfic-d...@googlegroups.com
Subject: Re: [FanFicFare] Browser Cache not working

 

 

I'm not sure what browser_cache_age_limit:.0 would do.  If set to -1,

--

Project Home: https://github.com/JimmXinu/FanFicFare/wiki

---

You received this message because you are subscribed to the Google Groups "FanFicFare -- Downloader for FanFiction" group.

To unsubscribe from this group and stop receiving emails from it, send an email to fanfic-downloa...@googlegroups.com.

pavanag...@gmail.com

unread,
Jun 11, 2021, 2:16:32 AM6/11/21
to FanFicFare -- Downloader for FanFiction
Sorry, the  browser_cache_age_limit:.0 was a typo. It's 4.0 only.

I do have the default cover image for epub set though. The code for that is below the browser cache code. All together it goes


So the browser cache code is 

[defaults]

## windows:

### Edge:

browser_cache_path:C:\Users\Paaven\AppData\Local\Microsoft\Edge\User Data\Default\Cache

browser_cache_age_limit:4.0


[www.fanfiction.net]


use_browser_cache:true

use_browser_cache_only:true


[base_xenforoforum]

always_include_first_post:true

always_reload_first_chapter:true


is_adult:true


add_genre_when_multi_category: Crossover


[epub]


include_images:true


keep_summary_html:true


make_firstimage_cover:true


[www.fanfiction.net:epub]

default_cover_image:file:///D:/Address Removed

[forums.spacebattles.com:epub]

default_cover_image:file:///D:/

[forums.sufficientvelocity.com:epub]

default_cover_image:file:///D:/

[forum.questionablequesting.com:epub]

default_cover_image:file:///D:/

[archiveofourown.org:epub]

default_cover_image:file:///D:/

[alternatehistory.com:epub]

default_cover_image:file:///D:/


[overrides]

cover_exclusion_regexp:(/styles/|xenforo/avatars/avatar.*\.png|https://cdn\.jsdelivr\.net/gh/|https://cdn\.jsdelivr\.net/emojione)



Would having this make a difference.
(I use FFF in calibre, no CLI. How would I run it in debug mode there) 
Reply all
Reply to author
Forward
0 new messages