It might be just easier to spend another $20/mo and expand the server's resources?
Quote:
Does deflate also affect images from external resources?
|
NO
that is a remote server you cannot control.
use
$ sed 's/\.min//g'
test it first
then sed -i.bk
-i [in place edit].bk [.bk backupfile]
I like to make a backup directory with copies in case I fuck-up
Code:
$ mkdir backedup; cp * backedup
you will need the file paths
Code:
$ find . -name "*.min.js"
or
Code:
$ find . -name "*.js" -o -name "*.min.js"
find . is recursive so start in the right location near just above the files.
to find script references
is recursive so start in the right location near just above the files.
JavaScripts are generally cashed in browsers -- their requests are 304 usually after the first visit -- certainly per session. Exceptions being deleted user cache files and private/incognito sessions.