Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
Toshiyuki Tega Newcomer
@ttega · Joined 8 years ago · 2 posts · 1 topics · 0 reputation
Badges
✏️ First Post
💬 Conversation Starter
Recent posts
-
Caching dynamically added assets by a plugin?
· 8 years ago
On second thought, I decided to cache the assets by myself. Using Grav Assets Plugin as a reference, I could implement caching, and now the page looks fine (even if the page cache is in effect).
-
Caching dynamically added assets by a plugin?
· 8 years ago
Hi, I'm writing a plugin which injects Vue.js assets to a page. In the event hook of onPageContentRaw, I managed to add JS files like this: $this->grav['assets']->addJs($filePath, ['pipeline' =&