Welcome Guest, Not a member yet? Register   Sign In
Cache js or css files
#6

Note that merging JS in an uber file is not per definition the best way to go; it depends on the 1) host and 2) browser and 3) howmuch js/css you need on each page.

http/2 can get all the resources over a single tcp connection, and hence merging the files is a wors idea then just loading what you need*. However http/2 only works on newer systems (it requires openssl 1.0.2) so check with the host.

See for example : https://ma.ttias.be/http1-vs-http2-page-loading/

* depending on the requirements
Reply


Messages In This Thread
Cache js or css files - by ufhy - 08-17-2016, 07:18 PM
RE: Cache js or css files - by mario - 08-17-2016, 10:23 PM
RE: Cache js or css files - by mario - 08-17-2016, 10:39 PM
RE: Cache js or css files - by Diederik - 08-17-2016, 11:46 PM
RE: Cache js or css files - by ufhy - 08-19-2016, 06:35 AM
RE: Cache js or css files - by svennd - 08-21-2016, 02:01 AM
RE: Cache js or css files - by PaulD - 08-21-2016, 05:52 PM
RE: Cache js or css files - by ufhy - 08-22-2016, 11:32 AM
RE: Cache js or css files - by spjonez - 08-26-2016, 06:08 AM
RE: Cache js or css files - by mwhitney - 09-16-2016, 02:02 PM
RE: Cache js or css files - by spjonez - 09-16-2016, 02:06 PM



Theme © iAndrew 2016 - Forum software by © MyBB