patrickmn / ocp Goto Github PK
View Code? Open in Web Editor NEWSmart cache preloader for websites with XML sitemaps
Home Page: https://patrickmn.com/projects/ocp/
License: Other
Smart cache preloader for websites with XML sitemaps
Home Page: https://patrickmn.com/projects/ocp/
License: Other
We have 3 different sitemaps. Is it possible to tell OCP to crawl all theese in one command? E.g.
ocp url1 url2 url3
?
I'm finding the use case to sometimes run ocp against a single URL (versus a sitemap). I use wget but the -l option and others are nice.
Plugins like Quick Cache store the locally cached file using some kind of hash algorithm rather than a path relative/equivalent to one found in the sitemap.
Provide a command line option to define the IP Address of the destination web server for requests. This would allow requests to be sent to 127.0.0.1/localhost or bypass any WAFs that might consider this traffic as an attack or crawler.
I have setup a cron to run the OCP program every 15 minutes. I can tell from my apache logs that the pages of my sitemap are being called.
However when I test my TimeToFirstByte with a tool like http://www.bytecheck.com/ , I can see that sometimes ages are not cached because the TFB is way too high. If I run it a second time then it is fast, meaning the page was cached by bytecheck's call, but not by OCP's call.
This is not consistent. Do you have an explanation or could you give me some clue as to why this happens ?
Thanks !
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.