[
https://issues.apache.org/jira/browse/OFBIZ-6664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14948750#comment-14948750 ]
Jacques Le Roux commented on OFBIZ-6664:
----------------------------------------
OK I read the document, I remember that
* Contents (images, js, css, etc.) in HTTPS are not cached
* Most of the time POST requests results are not cached
* Most modern Web servers automatically generate both ETag and Last-Modified validator for static content (ie, files); you will have nothing to do
Also I believe we don't care to OOTB cache things in the backend side. The backend should be mostly used locally. We use HTTPS and mostly POST in the backend. So I would let that for users to configure in function of their needs, one worry less.
Now if we want to introduce some caching OOTB it should be in the ecommerce component, rather as an example to be adapted. Then expires and Cache-Control HTTP directives should be wisely used in conjuction with ETag and Last-Modified validators. This could be useful
https://redbot.org/?uri=http%3A%2F%2Fdemo-trunk-ofbiz.apache.org%2Fecommerce%2Fcontrol%2Fmain to begin
> 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)