[PAGES-207] SPA renderer Created: 09/Apr/19 Updated: 19/Nov/19 Resolved: 07/Nov/19 |
|
| Status: | Closed |
| Project: | Magnolia pages module |
| Component/s: | None |
| Affects Version/s: | 5.7.2, 6.0 |
| Fix Version/s: | 6.2 |
| Type: | Story | Priority: | Neutral |
| Reporter: | Christopher Zimmermann | Assignee: | Sang Ngo Huu |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | 0d | ||
| Time Spent: | 13d 3.5h | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Template: |
|
||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||||||
| Release notes required: |
Yes
|
||||||||||||||||
| Documentation update required: |
Yes
|
||||||||||||||||
| Date of First Response: | |||||||||||||||||
| Epic Link: | SPA Editor | ||||||||||||||||
| Sprint: | SPA Editor 7, SPA Editor 8, SPA Editor 9, SPA Editor 10 | ||||||||||||||||
| Story Points: | 8 | ||||||||||||||||
| Description |
|
User story:
Notes: Frontend frameworks always build a default index.html page which contains the relative links to other files (such as js & css) and sometimes other metadata such as a "base" path. Often the relatively linked files have new names with every build to prevent unwanted caching, and sometimes the js files are split to optimize app loading performance. It can be tiresome and error-prone to transfer the proper information from this file to a regular freemarker template script. Ideally a template definition can point directly to this generated index file and take care of anything else such as providing the functionality that a page directive does. Acceptance criteria:
Additional notes: Possibly the renderer does the following (in the future):
|
| Comments |
| Comment by Sang Ngo Huu [ 08/Oct/19 ] |
|
I also use `ResourceTemplatingFuntions` to load css and js file dynamic, but seem it is slow. I will investigate more |