Ready to work Worker?

Hello,

i would like to ask if there is a generic “Ready To work” worker example, that will optimize speed of the website. For example, i have found this post, which seems to have a code for workers that will Cache JSON requests and it will work in Plug & Play format (any website that uses JSON will be benefited from this code).

Are there any similar examples?

You don’t need a Worker for that, simply set up a page rule to cache the desired file extension.

Nonetheless, make sure you are not in violation of paragraph 2.8 of the terms of service as you’d otherwise might get your account suspended.