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

Census Index link sometimes ".html" #44

Closed
cablespaghetti opened this issue May 14, 2017 · 6 comments
Closed

Census Index link sometimes ".html" #44

cablespaghetti opened this issue May 14, 2017 · 6 comments
Assignees

Comments

@cablespaghetti
Copy link
Contributor

I've noticed that the Census Index link sometimes point to ".html".

For example on https://genealogy.nigelhorne.com/cgi-bin/page.fcgi?page=people&home=1 currently points to https://genealogy.nigelhorne.com/save_to/web/English/page.fcgi/.html

This seems to be for cached pages in the save_to folder. If I do a Ctrl-Shift-R to invalidate the page cache, that seems to temporarily resolve the problem.

As a slight tangent, I've tried messing around with all kinds of different caching settings, as I basically want to disable the "save_to" folder and use a reverse proxy cache instead but haven't had much luck. Could you explain the cache, disc_cache and memory cache options?

Thanks again!
Sam

@cablespaghetti
Copy link
Contributor Author

Commenting out this seems to disable the save_to folder and so far looks to have solved/bodged around my issue.

        if(!$info->is_search_engine()) {
                $fb->init(save_to => {
                        directory => File::Spec->catfile($config->rootdir(), 'save_to'),
                        ttl => 3600 * 24,
                        create_table => 1
                });
        }

@nigelhorne
Copy link
Owner

nigelhorne commented May 14, 2017 via email

@nigelhorne
Copy link
Owner

nigelhorne commented May 14, 2017 via email

@cablespaghetti
Copy link
Contributor Author

Thanks again Nigel!

@nigelhorne
Copy link
Owner

Documentation added.

Does removing the save_to directory on uploading a new website help? Thinking about it, I used to have the same problem and realised that my cache was out of sync with the site - I'm hoping this will fix this problem as well.

@nigelhorne nigelhorne self-assigned this May 16, 2017
nigelhorne added a commit that referenced this issue May 19, 2017
nigelhorne added a commit that referenced this issue May 19, 2017
@nigelhorne
Copy link
Owner

I believe that the latest 2 commits should fix this problem.

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

2 participants