Introduction
Modify Content
Editing your blog pages or posts is as easy as editing a notion page. When you make a change in Notion page, Blogic will fetch the data from Notion and reflect it on your blog. There are some steps to be taken care while editing.
Edit Link
You can always click on the Edit
link in the top navigation bar that takes you directly to your Notion DB.
override caching
Like I said in earlier section, Blogic caches the Notion content. Let me explain it better, When you open your website in the browser, it goes to Blogic app and then it will try to fetch the content from Notion. Notion is slow, I mean really slow for fetching the data through the API which is not enough for our blogs. So, to make it faster when Blogic fetches the data for the first time, we save it to on our server and then for subsequent requests Blogic doesn't goto Notion to get the data.
Speed 🚀
This way, the speed of the blog post increased over 1000%, No, I am not kidding. Check out this example report for my personal blog on GTMetrix. vijaykumar.me. No wonder, Google loves our pages
But there is a caveat here. When you edit the Notion content, Blogic has no way to know that you have modified inside Notion due to limitation of the Notion API. But, don't worry, its easy to make it work and only temporary. To explicitly let Blogic know that you modified something inside Notion, append ?cache=0
for any url that you are making change. For example, if you are making change to Blog Home
page and the url is https://blog.blogic.so/home-with-blog-posts
then open the url by appending cache param like below. Again, this is only temporary.
// ?cache=0 is added at the end of the url
https://blog.blogic.so/home-with-blog-posts?cache=0
Head on to understanding the Notion Database by going to next section Notion Template
and find all the features to get most out of Blogic.