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 MOJAVE
cache_get_and_retain
cache_set_and_retain(3) BSD Library Functions Manual cache_set_and_retain(3)
NAME
cache_set_and_retain, cache_get_and_retain, cache_release_value, cache_remove -- Routines used to manage cached values
SYNOPSIS
#include <cache.h>
int
cache_set_and_retain(cache_t *cache, void *key, void *value, size_t cost);
int
cache_get_and_retain(cache_t *cache, void *key, void **value_out);
int
cache_release_value(cache_t *cache, void *value);
int
cache_remove(cache_t *cache, void *key);
DESCRIPTION
These routines are used to manipulate values added to an in memory cache created by cache_create(3).
cache_set_and_retain() Adds value with cost to cache and associates it with key. The caller retains a reference to value that will prevent
value from being evicted from the cache until value is released in cache_release_value().
cache_get_and_retain() Fetches value for key from cache and places value in value_out. The caller retains a reference to value that will
prevent value from being evicted from the cache until value is release in cache_release_value().
cache_release_value() Releases a reference on value back to cache so that value may be evicted. Signals that the client is not actively
using value and will use cache_get_and_retain() before using again.
cache_remove() Removes the value associated with key from cache. Note that if the value is referenced by a client, the value will not be
finalized until the reference is released using cache_release_value().
RETURN VALUES
All functions return 0 for success and non-zero for failure. The value ENOENT (see errno.h) indicates that a key or value passed as an argu-
ment does not exist in the cache. EINVAL is used for invalid arguments.
EXAMPLE
The following example attempts to fetch a value from a cache using a key. If the value is not present in the cache then it is created and
added to the cache. The value is then used and released back to the cache to allow the cache to evict it when needed.
cache_t *mycache;
cache_create("com.mycompany.mycache", &cache_attributes, &mycache);
void *mykey = my_create_key();
void *myvalue = NULL;
if (cache_get_and_retain(mycache, mykey, &myvalue) != 0) {
myvalue = my_create_value_from_key(mykey);
cache_set_and_retain(mycache, mykey, myvalue, 0);
}
my_use_value(value);
cache_release_value(mycache, myvalue);
SEE ALSO
cache(3)
Darwin May 7, 2009 Darwin