lscache_wp icon indicating copy to clipboard operation
lscache_wp copied to clipboard

Feature request: cached page with snippets (github / gitlab)

Open rdrouche opened this issue 3 years ago • 1 comments

Hi,

Following the use of gitlab and github snippets on my site to replace the use of syntax highlighting plugin, this involves calling a JS file which calls a CSS file and which recovers the html code of the code to be integrated.

Would it be possible, if deemed useful, to find a mechanism for cached pages (lscache) to directly integrate the CSS and HTML code of the snippet in the cache in order to avoid HTTPS requests.

Just an idea like that.

Regards,

Romain

rdrouche avatar Mar 02 '21 07:03 rdrouche

That is possible. However I think that should be a change to that plugin. Better to be done in that plugin. That is not a generic phenomenon of JS, also its difficult to manipulate the behavior w/o changing their JS.

hi-hai avatar Mar 02 '21 13:03 hi-hai