litespeedtech / litespeedtech/lscache_wp

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

Open
#307 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
257
Forks
123
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the WordPress plugin's lscache page-caching flow and how GitHub and GitLab snippets currently load their JavaScript, CSS, and HTML. Define the cache behavior and invalidation requirements before implementation; done should avoid the snippet's HTTPS requests while preserving the rendered code and styling.

Written by the indexing model from the issue text.

Assessment

Tech stack
github, gitlab, javascript, php, wordpress
Domain
backend, performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.