I have a 6 pages website which I don’t update or update the home page (only) once in 1-3 months with small snip text and an image, just to add fresh content to Google. The website is monetized with Adsense and is hosted on a VPS. It is a free service website which has a form in which people provide a link to get something and with JS I send request to a function in my theme functions.php where I communicate to another server with an API.
I would very much like to minimize the resources that it cost to the VPS by caching everything on my site.
I have few questions regarding this and I hope you may give me some answers or at least tips.
- If I cache everything will the JS and the PHP function work?
- Is it in some way violation of the AdSense policy as the Adsense code is JS and I will cache it too?
- Will it affect in any way the SERP position of the website?
- Is adding only a page rule enough for this cache? Like “mydomain.com” and put there cache everything.
At this moment I am using w3 total cache and hummingbird which remotely control my Cloudflare with an API. For example, Hummingbird minifies everything but the Adsense js code (this is my 2. concern). I know caching isn’t minification and it is in no way adjusting the Adsense code at all - I just cache it.
I am very satisfied with the speed of my website (89 mobile and 94 desktop) but I would like to decrease the server load as the traffic to the website is increasing constantly every single day and I want to server the best possible experience for my users too.