You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hey everyone πͺ β¨
i am using a few simple custom routes, to remove parent page slugs from urls. it seems like the staticache plugin just ignores these pages? at least on my side, no cache files are generated. for all other pages itβs working fine.
any ideas on how to solve this?
thank you so much!
π¦
The text was updated successfully, but these errors were encountered:
Staticache directly hooks into Kirby's page cache and only caches the canonical URL of each page.
What you could do is to manually store the result of your route in a HTML file inside the cache directory. Your web server will then pick the cached result up from there as if it was cached by the plugin.
In the future it might make sense to hook into the router instead of into the page cache. This would allow us to handle routes natively. But it would also lead to an entirely different configuration setup.
hey everyone πͺ β¨
i am using a few simple custom routes, to remove parent page slugs from urls. it seems like the staticache plugin just ignores these pages? at least on my side, no cache files are generated. for all other pages itβs working fine.
any ideas on how to solve this?
thank you so much!
π¦
The text was updated successfully, but these errors were encountered: