Skip to content

Commit

Permalink
added_tips_and_tricks_draft_page
Browse files Browse the repository at this point in the history
  • Loading branch information
reveloper committed Oct 12, 2023
1 parent 5b0dd38 commit 2678665
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
31 changes: 31 additions & 0 deletions docs/develop/dapps/telegram-apps/tips-and-tricks.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@


# Tips and Tricks


:::danger
Page is under development.
:::


On this page, you'll find a list of frequently asked questions related to issues in TMA.

### How to solve the cache overflow issue in TMA?

:::tip
Only reinstalling the Telegram application could be helpful.
:::


### Are there any recommendations on caching headers for HTML files?

:::tip
It's preferable to switch off cache in the HTML. To ensure your cache switched off, specify headers in your request according the following:

```curl
Cache-Control: no-store, must-revalidate
Pragma: no-cache
Expires: 0
```
:::

2 changes: 2 additions & 0 deletions sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,8 @@ const sidebars = {
'develop/dapps/telegram-apps/publishing',
'develop/dapps/telegram-apps/monetization',
'develop/dapps/telegram-apps/grants',
'develop/dapps/telegram-apps/tips-and-tricks',


],
},
Expand Down

0 comments on commit 2678665

Please sign in to comment.