09-12-2019
Quote:
Originally Posted by
Akshay Hegde
This is what I use, here is conf, I use query parameters whenever I change script/css, pagespeed re-creates cache
Yeah, that's what I do generally for Javascript and CSS. It's a bit more tricky when the change is to the HTML in a document, for me at least.
I will replace our
pagespeed.conf file with the snippet you provided above and see how that works.
Do you mind to send me your entire
pagespeed.conf file?
Thanks!
8 More Discussions You Might Find Interesting
1. IP Networking
Setup a site to site VPN between two cisco routers.
One of the site locations is unable to access ports such as https://example.com:9001
How do I let them go into port 9001?
They can ssh, ftp, telnet and everything else.
Is this a VPN issue or ACL access issue?
I put
permit ip host... (0 Replies)
Discussion started by: photon
0 Replies
2. Shell Programming and Scripting
hello guys,
I have a file like this:
input.dat
Push-to-talk
No
Coonection
IP support
Support for IP telephony
Yes
Built-in SIP stack
Yes
Support via software
Yes
Microsoft
Support for Microsoft Exchange
Yes
UMA (5 Replies)
Discussion started by: Johanni
5 Replies
3. IP Networking
Hi,
I am trying to establish vpn between my linux server and cisco asa at client side.
I installed openswan on my cent os.
Linux Server
eth0 - 182.2.29.10
Gateway - 182.2.29.1
eth1 - 192.9.200.75
I have simple IPtables Like
WAN="eth0"
LAN="eth1" (0 Replies)
Discussion started by: ashokvpp
0 Replies
4. IP Networking
Q: "Does Cisco 1921 router support,, act as an endpoint for, site to site VPNs using IPSec? If so, how many? "
A: If you get the Cisco 1921/k9 with the security services bundle then it will have built in security features. Cisco, typically includes IP Sec tunnels I believe as part of that... (0 Replies)
Discussion started by: Ayaerlee
0 Replies
5. IP Networking
Hi @all,
I try to connect 2 LANs with IPSec/Openswan
LAN 1: 192.168.0.0/24
LAN 2: 192.168.1.0/24
This is my Config:
conn HomeVPN # # Left security gateway, subnet behind it, nexthop toward right. left=192.168.1.29 ... (1 Reply)
Discussion started by: bahnhasser83
1 Replies
6. IP Networking
I'm trying to figure out what circumstances would cause an Open Solaris 11.2 host to switch itself from a static to a DHCP ip address upon reboot. This has only happened once but is a cause for some concern as this machine will be part of a web server pool.
Nothing has changed on the LAN that... (2 Replies)
Discussion started by: SmokeyJoe
2 Replies
7. What is on Your Mind?
Having given up for the time being with a very difficult game engine project to virtualizing cyberspace, am working on the forums again.
Just updated a few icons on the mobile site. Explanations in the picture captions:
https://www.unix.com/members/1-albums214-picture855.jpeg
... (1 Reply)
Discussion started by: Neo
1 Replies
8. What is on Your Mind?
Hey,
I have enable post thanks (viewing thanks, not yet giving thanks) in mobile:
https://www.unix.com/members/1-albums214-picture1018.jpeg
I plan to also add the button to "give thanks on mobile.
In addition, I will change the formatting (color and justification) of this new mobile... (1 Reply)
Discussion started by: Neo
1 Replies
LEARN ABOUT DEBIAN
jifty::plugin::compressedcssandjs
Jifty::Plugin::CompressedCSSandJS(3pm) User Contributed Perl Documentation Jifty::Plugin::CompressedCSSandJS(3pm)
NAME
Jifty::Plugin::CompressedCSSandJS - Compression of CSS and javascript files
SYNOPSIS
# In your jifty config.yml under the framework section:
Plugins:
- CompressedCSSandJS:
js: 1
css: 1
jsmin: /path/to/jsmin
cdn: 'http://yourcdn.for.static.prefix/'
skipped_js:
- complex.js
generate_early: 1
DESCRIPTION
This plugin provides auto-compilation and on-wire compression of your application's CSS and Javascript. It is enabled by default, unless
your "ConfigFileVersion" is greater or equal than 2.
It also supports js minifier, you will need to specify the full path. The jsmin can be obtained from
<http://www.crockford.com/javascript/jsmin.html>.
Note that you will need to use "ConfigFileVersion" 2 to be able to configure jsmin feature.
skipped_js is a list of js that you don't want to compress for some reason.
generate_early tells the plugin to compress the CSS and JS at process start rather than on the first request. This can save time,
especially if your JS minifier is slow, for the poor sucker who makes the first request. Enabled by default.
init
Initializes the compression object. Takes a paramhash containing keys 'css' and 'js' which can be used to disable compression on files of
that type.
js_enabled
Returns whether JS compression is enabled (which it is by default)
css_enabled
Returns whether CSS compression is enabled (which it is by default)
generate_css
Checks if the compressed CSS is generated, and if it isn't, generates and caches it. (In devel mode, it always regenerates it)
generate_javascript
Checks if the compressed JS is generated, and if it isn't, generates and caches it.
_generate_javascript_nocache
Generates compressed javascript, ignoring the cache completely.
minify_js $js
Runs the given JS through jsmin
wrap
psgi app wrapper to serve url controlled by us
perl v5.14.2 2010-09-25 Jifty::Plugin::CompressedCSSandJS(3pm)