09-11-2019
Now I recall some of the problems I used to have with mod_pagespeed......
mod_pagespeed give a tiny increase in page speed with the big cost of caching and when we make a change on the site and try to clear the cache, the cache does not clear propertly or correctly
and it is very hard to work on the site, debug things, etc. due to the caching of all this code and the problems trying to clear the various caches.
So, I turned it off (again) for now.
I tried to clear the cache and it will not clear easily but again, it may be because we have to clear the cache on both the server side and the client side; all of which is too much work.
As I always try to explain to people over the years; all the "optimizations" come at a "cost" and the major cost for mod_pagespeed is a cache of a written pages (HTML, CSS, Javascript) which can be very difficult to manage if you are making any changes to the code or debugging something; and I started making changes to the code based on the W3C validator; but it's hard to work on this with mod_pagespeed caching, rewriting code, etc.
Anyway, its off again ... because the pages load fast already and mod_pagespeed does not really help that much and has very little or nothing to do with the issue I posted about, which is:
Your site has been switched to Mobile First Indexing by Google.
Cheers!
This User Gave Thanks to Neo For This Post:
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
app::cache
App::Cache(3pm) User Contributed Perl Documentation App::Cache(3pm)
NAME
App::Cache - Easy application-level caching
SYNOPSIS
# in your class:
my $cache = App::Cache->new({ ttl => 60*60 });
$cache->delete('test');
my $data = $cache->get('test');
my $code = $cache->get_code("code", sub { $self->calculate() });
my $html = $cache->get_url("http://www.google.com/");
$cache->set('test', 'one');
$cache->set('test', { foo => 'bar' });
my $scratch = $cache->scratch;
$cache->clear;
DESCRIPTION
The App::Cache module lets an application cache data locally. There are a few times an application would need to cache data: when it is
retrieving information from the network or when it has to complete a large calculation.
For example, the Parse::BACKPAN::Packages module downloads a file off the net and parses it, creating a data structure. Only then can it
actually provide any useful information for the programmer. Parse::BACKPAN::Packages uses App::Cache to cache both the file download and
data structures, providing much faster use when the data is cached.
This module stores data in the home directory of the user, in a dot directory. For example, the Parse::BACKPAN::Packages cache is actually
stored underneath "~/.parse_backpan_packages/cache/". This is so that permisssions are not a problem - it is a per-user, per-application
cache.
METHODS
new
The constructor creates an App::Cache object. It takes three optional parameters:
o ttl contains the number of seconds in which a cache entry expires. The default is 30 minutes.
my $cache = App::Cache->new({ ttl => 30*60 });
o application sets the application name. If you are calling new() from a class, the application is automagically set to the calling
class, so you should rarely need to pass it in:
my $cache = App::Cache->new({ application => 'Your::Module' });
o directory sets the directory to be used for the cache. Normally this is just set for you and will be based on the application name and
be created in the users home directory. Sometimes for testing, it can be useful to set this.
my $cache = App::Cache->new({ directory => '/tmp/your/cache/dir' });
o enabled can be set to 0 for testing, in which case you will always get cache misses:
my $cache = App::Cache->new({ enabled => 0 });
clear
Clears the cache:
$cache->clear;
delete
Deletes an entry in the cache:
$cache->delete('test');
get
Gets an entry from the cache. Returns undef if the entry does not exist or if it has expired:
my $data = $cache->get('test');
get_code
This is a convenience method. Gets an entry from the cache, but if the entry does not exist, set the entry to the value of the code
reference passed:
my $code = $cache->get_code("code", sub { $self->calculate() });
get_url
This is a convenience method. Gets the content of a URL from the cache, but if the entry does not exist, set the entry to the content of
the URL passed:
my $html = $cache->get_url("http://www.google.com/");
scratch
Returns a directory in the cache that the application may use for scratch files:
my $scratch = $cache->scratch;
set
Set an entry in the cache. Note that an entry value may be an arbitrary Perl data structure:
$cache->set('test', 'one');
$cache->set('test', { foo => 'bar' });
directory
Returns the full path to the cache directory. Primarily useful for when you are writing tests that use App::Cache and want to clean up
after yourself. If you are doing that you may want to explicitly set the 'application' constructor parameter to avoid later cleaning up a
cache dir that was already in use.
my $dir = $cache->directory;
AUTHOR
Leon Brocard <acme@astray.com>
COPYRIGHT
Copyright (C) 2005-7, Leon Brocard
LICENSE
This module is free software; you can redistribute it or modify it under the same terms as Perl itself.
perl v5.12.3 2009-12-08 App::Cache(3pm)