Gastric cancer at the T1‐T2 stage exhibited a higher tumor‐infiltrating DC1/DC2 ratio than T3‐T4 stage (P = .012). Here, ZDHHC4 is linked to gastric cancer.