statamic / ssg

The official Statamic Static Site Generator
233 stars 24 forks source link

Replace Statamic static cache with SSG files. #67

Closed rocevas closed 3 years ago

rocevas commented 3 years ago

The problem is with high traffic to our website, When Statamic regenerating new static files we get errors with the leaked data on the website. Maybe there is some way to replace it with SSG files?

jasonvarga commented 3 years ago

Can you explain this further? I don't really understand.

rocevas commented 3 years ago

Our production websites are in full cache strategy and in our website deploy flow we clean stache, cache, static update search, and in this process if we have a lot of customers in our website Statamic show errors with website data. It is hard to explain but with lower traffic, we do not have similar problems. So it will be nice to generate static pages before deployment. P.S. we clean static cache because sometimes some pages don’t refresh.

jasonvarga commented 3 years ago

You have the site and the ssg on production?

jasonvarga commented 3 years ago

(This repo is for the static site generator, not the static caching feature. Perhaps you mean to open an issue on statamic/cms)

rocevas commented 3 years ago

Thank you