[jira] [Commented] (OFBIZ-6664) Enhance theme js and css settings with caching and other parameters.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-6664) Enhance theme js and css settings with caching and other parameters.

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-6664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14948031#comment-14948031 ]

Jacques Le Roux commented on OFBIZ-6664:
----------------------------------------

Hi Pierre, this is only a problem when 1st loading page, right? Afterward the browser, and possibly the front-end and even a CDN, should have cached things https://en.wikipedia.org/wiki/Web_cache

Note also that async is only present in HTML5 http://www.w3schools.com/tags/att_script_async.asp

> Enhance theme js and css settings with caching and other parameters.
> --------------------------------------------------------------------
>
>                 Key: OFBIZ-6664
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6664
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: themes
>    Affects Versions: Trunk, Bootstrap theme
>            Reporter: Pierre Smits
>
> In order to have fast rendering of pages multiple options are available. These include cache-control and async for css and js files.
> Currently those settings can't be set when using visual theme resources. In order to enhance the user experience and aiding developers we should figure out a way to set those variables in the dataset(s) of themes.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)