Giter Club home page Giter Club logo

nuxt-notion-blog's Introduction

Hello, geeks! 👋

I am Yu-Jie, but you can call me YJ. I have extensive experience in a variety of development areas, including embedded programming, software engineering principles, and DevOps practices.


TOP Used Lang

nuxt-notion-blog's People

Contributors

yjack0000 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

felix2chow

nuxt-notion-blog's Issues

[feat] use vercel tools to cache the notion data to improve performance

Currently, Notion API data is fetched from the Notion servers each time a request is made. This can lead to performance problems for applications that frequently need to access Notion API data.

Vercel's tools can be used to cache Notion API data. This can be done by storing Notion API responses on Vercel's Edge servers. This way, when an application needs to access Notion API data, it can fetch the data directly from Vercel's Edge servers, instead of from the Notion servers.

Caching Notion API data can improve the performance of applications because it can reduce the number of requests made to the Notion servers. This can reduce response times and improve overall performance.

[question]

Why are you so handsome, so powerful !

Nuxt Image and Notion image problem

在使用 nuxt-img 優化 notion 的圖片時遇到的問題

例如

https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F0a572d21-a609-4730-af7e-3cade9dbe359%2FScreenshot_2023-04-30_at_4.18.52_PM.png?table=block&id=ee532b09-ef0b-46bb-a949-60b40f0d047a&cache=v2

後半段的

https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F0a572d21-a609-4730-af7e-3cade9dbe359%2FScreenshot_2023-04-30_at_4.18.52_PM.png?table=block&id=ee532b09-ef0b-46bb-a949-60b40f0d047a&cache=v2

整段會被多 encode 一次變成類似

https://www.notion.so/image/https%253A%252F%252Fs3-us-west-2.amazonaws.com%252Fsecure.notion-static.com%252F0a572d21-a609-4730-af7e-3cade9dbe359%252FScreenshot_2023-04-30_at_4.18.52_PM.png?table=block&id=ee532b09-ef0b-46bb-a949-60b40f0d047a&cache=v2

嘗試過將它拆開後 decode 一次再組裝回去送給 Nuxt Image,但是目前沒用,不確定是我的問題還是 Nuxt Image 的問題。

先暫時放著,之後可能去發 issue 問問看。

can you share notion url?

Can you please share the table url in notion, seems like there is a slight issue with tables.
Thank you

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.