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

Needs to re-save md file or clear-cache to show map (cache problem) #33

Open
Sogl opened this issue Jul 27, 2018 · 2 comments
Open

Needs to re-save md file or clear-cache to show map (cache problem) #33

Sogl opened this issue Jul 27, 2018 · 2 comments

Comments

@Sogl
Copy link

Sogl commented Jul 27, 2018

Hello!

Map works on dev server:
image

But not working on production shared server:
image

My site has 2 languages and with EN it works, but with RU not... hmmm
I began to look at the difference in the files and found an empty line at the end of the RU file:
image

I deleted this line and map now works 😮
How it could be happen?

@Sogl
Copy link
Author

Sogl commented Jul 27, 2018

Ok, doesn't works. Works 1st time I change a file and 2-3 etc not.

It's related to cache problem that not solved yet: #11 #24

As a workaround you can add cache_enable: false to frontmatter and map will work after each reload.

@Sogl Sogl changed the title White screen without errors in console if last line in md is empty Needs to re-save md file or clear-cache to show map (cache problem) Jul 27, 2018
@Japhys
Copy link

Japhys commented Jun 22, 2019

Thanks Sogl! Had the same issue.

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